/* =============================================================================
   AP100 — A Centennial of Excellence
   Austin Peay State University | 2027

   Load order: after main site stylesheets (site.css, style.css, etc.)
   Scope: apsu.edu/100/* pages only
   Last updated: see Thoughtful workspace → AP100 → ap100.css
   ============================================================================= */


/* =============================================================================
   1. CUSTOM PROPERTIES (AP100 Design Tokens)
   ============================================================================= */

:root {
  /* Brand colors */
  --ap100-red:        #BB1E3A;
  --ap100-red-shadow: #9F1C37;
  --ap100-black:      #000000;
  --ap100-white:      #ffffff;
  --ap100-gray-light: #f3f3f3;
  --ap100-gray-dark:  #404040;

  /* Typography scale */
  --ap100-text-xs:   0.75rem;
  --ap100-text-sm:   0.875rem;
  --ap100-text-base: 1rem;
  --ap100-text-lg:   1.125rem;
  --ap100-text-xl:   1.25rem;
  --ap100-text-2xl:  1.5rem;
  --ap100-text-3xl:  1.875rem;
  --ap100-text-4xl:  2.25rem;
  --ap100-text-5xl:  3rem;

  /* Spacing */
  --ap100-section-pad: clamp(3rem, 7vw, 6rem);

  /* Transitions */
  --ap100-ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Max content width */
  --ap100-max-w:        1200px;
  --ap100-max-w-narrow: 800px;
}


/* =============================================================================
   2. UTILITIES
   ============================================================================= */

/*
   NOTE: box-sizing: border-box and img resets (max-width, height: auto,
   display: block) are assumed to already be applied globally by the main
   APSU stylesheet. If they're not, add them to the main style.css rather
   than here — scoping them to AP100 only would be insufficient anyway.
*/

/* Visually hidden — accessible off-screen text for screen readers */
.ap100-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =============================================================================
   3. GLOBAL HEADER
   ============================================================================= */

/*
   The header is fixed so it floats over the hero video.
   Background starts transparent; JS adds .ap100-header--scrolled once
   the user scrolls past 10px, which fades in a black background.
   Scrolling back to the top removes the class and the background disappears.
*/

.ap100-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.35s ease;
}

.ap100-header--scrolled {
  background-color: var(--ap100-black);
}

.ap100-header__inner {
  max-width: var(--ap100-max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

/* Brand lockup: logo + divider + tagline */
.ap100-header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.ap100-header__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* Thin white vertical rule between logo and tagline */
.ap100-header__divider {
  display: block;
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.ap100-header__tagline {
  color: var(--ap100-white);
  font-size: var(--ap100-text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

/* Hamburger button */
.ap100-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-right: -0.5rem; /* optical alignment to edge */
}

.ap100-hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ap100-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animate bars into an ✕ when open */
.ap100-hamburger--open .ap100-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ap100-hamburger--open .ap100-hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ap100-hamburger--open .ap100-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav dropdown */
.ap100-nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--ap100-black);
  padding: 1.25rem 1.5rem 1.5rem;
}

.ap100-nav-menu[hidden] {
  display: none;
}

.ap100-nav-menu__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--ap100-max-w);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ap100-nav-menu__link {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--ap100-white);
  font-size: var(--ap100-text-base);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--ap100-ease), color var(--ap100-ease);
}

.ap100-nav-menu__link:hover,
.ap100-nav-menu__link:focus-visible {
  background-color: var(--ap100-red);
  color: var(--ap100-white);
}

.ap100-nav-menu__link--active {
  background-color: var(--ap100-red);
  color: var(--ap100-white);
}

/* On wider screens stack nav links in a row, right-aligned */
@media (min-width: 48em) {
  .ap100-nav-menu__list {
    flex-direction: row;
    justify-content: flex-end;
    gap: 4px;
  }

  .ap100-nav-menu__list li {
    display: flex;
    transform: skewX(-12deg);
  }

  .ap100-nav-menu__link {
    display: flex;
    align-items: center;
  }

  /* Counter-skew so text reads upright inside the parallelogram */
  .ap100-nav-menu__link-text {
    display: inline-block;
    transform: skewX(12deg);
  }
}


/* =============================================================================
   4. GLOBAL FOOTER
   ============================================================================= */

.ap100-footer {
  background-color: var(--ap100-black); /* fallback if image fails */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.68)),
    url('/100/images/ap100-footer-background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 12 / 5; /* matches 2400×1000 image — no cropping */
  color: var(--ap100-gray-light);
  padding: 3.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Two-column grid — left: acknowledgment, right: logo + address */
.ap100-footer__inner {
  max-width: var(--ap100-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

@media (max-width: 47.99em) {
  .ap100-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Columns */
.ap100-footer__col--left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.ap100-footer__col--right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

/* Logo link wrapper */
.ap100-footer__brand {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.ap100-footer__brand:focus-visible {
  outline: 2px solid var(--ap100-white);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Inline SVG logo */
.ap100-footer__logo-svg {
  height: 56px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity var(--ap100-ease);
}

.ap100-footer__brand:hover .ap100-footer__logo-svg,
.ap100-footer__brand:focus-visible .ap100-footer__logo-svg {
  opacity: 1;
}

/* Address block (right column, below logo) */
.ap100-footer__address {
  font-style: normal;
  line-height: 1.7;
  text-align: right;
}

.ap100-footer__address-name {
  display: block;
  font-size: var(--ap100-text-sm);
  font-weight: 700;
  color: var(--ap100-white);
  letter-spacing: 0.02em;
}

.ap100-footer__address-line {
  display: block;
  font-size: var(--ap100-text-sm);
}

/* Acknowledgment text (left column) */
.ap100-footer__acknowledge {
  font-size: var(--ap100-text-sm);
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Shared link style */
.ap100-footer__link {
  color: var(--ap100-gray-light);
  text-decoration: underline;
  transition: color var(--ap100-ease);
}

.ap100-footer__link:hover,
.ap100-footer__link:focus-visible {
  color: var(--ap100-white);
}

.ap100-footer__link:focus-visible {
  outline: 2px solid var(--ap100-white);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Toolkit standalone link (left column) */
.ap100-footer__toolkit-link {
  font-size: var(--ap100-text-sm);
  color: var(--ap100-gray-light);
  text-decoration: underline;
  transition: color var(--ap100-ease);
}

.ap100-footer__toolkit-link:hover,
.ap100-footer__toolkit-link:focus-visible {
  color: var(--ap100-white);
}

.ap100-footer__toolkit-link:focus-visible {
  outline: 2px solid var(--ap100-white);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Legal links row: Accessibility | Privacy */
.ap100-footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ap100-footer__legal-link {
  font-size: var(--ap100-text-xs);
  color: var(--ap100-gray-light);
  text-decoration: underline;
  letter-spacing: 0.04em;
  transition: color var(--ap100-ease);
}

.ap100-footer__legal-link:hover,
.ap100-footer__legal-link:focus-visible {
  color: var(--ap100-white);
}

.ap100-footer__legal-link:focus-visible {
  outline: 2px solid var(--ap100-white);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Vertical pipe divider between Accessibility and Privacy */
.ap100-footer__legal-divider {
  display: block;
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.ap100-footer__copyright a,
.ap100-footer__copyright a:link,
.ap100-footer__copyright a:visited,
.ap100-footer__copyright a:hover,
.ap100-footer__copyright a:active,
.ap100-footer__copyright a:focus,
.ap100-footer__copyright a:focus-visible {
  color: var(--ap100-white);
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ap100-footer__copyright a {
  display: inline;
  padding: 0.35rem 0.35rem;
  margin: -0.35rem -0.15rem;
}

.ap100-footer__copyright a::before,
.ap100-footer__copyright a::after {
  content: none !important;
  display: none !important;
}


/* =============================================================================
   5. HERO
   ============================================================================= */

.ap100-hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay — darkness controlled by modifier class */
.ap100-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.ap100-hero--overlay-light::before  { background-color: rgba(0, 0, 0, 0.25); }
.ap100-hero--overlay-medium::before { background-color: rgba(0, 0, 0, 0.50); }
.ap100-hero--overlay-dark::before   { background-color: rgba(0, 0, 0, 0.70); }

/* Height modifiers */
.ap100-hero--full   { min-height: calc(100vh - 30px); }
.ap100-hero--tall   { min-height: 75vh; }
.ap100-hero--medium { min-height: 55vh; }

.ap100-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.ap100-hero__logo {
  width: clamp(180px, 35vw, 360px);
  height: auto;
}

.ap100-hero__tagline {
  color: var(--ap100-white);
  font-size: clamp(var(--ap100-text-lg), 3vw, var(--ap100-text-3xl));
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}


/* =============================================================================
   5b. HERO — VIDEO & POSTER
   ============================================================================= */

/*
   Poster image — sits at z-index 0, visible by default.
   Fades out once the video fires its 'playing' event.
   If autoplay is blocked or JS is off, stays visible permanently.
*/
.ap100-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: opacity 0.6s ease;
}

/* JS adds .ap100-hero--video-playing to the <section> on the 'playing' event */
.ap100-hero--video-playing .ap100-hero__poster {
  opacity: 0;
  pointer-events: none;
}

/*
   Video element — stacked above the poster via DOM order (both at z-index 0).
   Starts invisible; fades in once 'playing' fires.
*/
.ap100-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* JS adds this class to the video element once it fires 'playing' */
.ap100-hero__video--playing {
  opacity: 1;
}

/*
   Modifier added when the Hero Nav Bar component follows immediately after.
   Extra bottom padding ensures the straddle overlap aligns correctly.
*/
.ap100-hero--has-nav {
  padding-bottom: 30px;
}

/*
   Chrome renders a native controls gradient at the bottom of <video> elements
   even when the controls attribute is omitted. These pseudo-element rules
   suppress it. No effect in Firefox or Safari.
*/
.ap100-hero__video::-webkit-media-controls,
.ap100-hero__video::-webkit-media-controls-enclosure,
.ap100-hero__video::-webkit-media-controls-panel {
  display: none !important;
}



/* =============================================================================
   6. INTRO TEXT
   ============================================================================= */

.ap100-intro {
  position: relative;
  overflow: hidden;
  background-color: var(--ap100-white);
  padding: var(--ap100-section-pad) 1.5rem;
  border: none;
  text-align: center;
}
.ap100-intro__watermark {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  font-size: clamp(96px, 16vw, 300px);
  font-weight: 900;
  font-style: italic;
  white-space: nowrap;
  text-align: center;
  color: var(--ap100-red);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.ap100-intro__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ap100-max-w-narrow);
  margin: 0 auto;
}

.ap100-intro__inner p {
  font-size: clamp(var(--ap100-text-base), 2vw, var(--ap100-text-lg));
  line-height: 1.8;
  color: var(--ap100-black);
  margin: 0;
}

@media (max-width: 34.2em) {
  .ap100-intro__watermark {
    font-size: clamp(56px, 14vw, 72px);
  }
}

/* =============================================================================
   7. COUNTDOWN TIMER — SPLIT-FLAT CARD DESIGN
   ============================================================================= */

/*
   SVG pattern tile — fixed to the viewport so it parallaxes on scroll.
   background-attachment: fixed is ignored on iOS (falls back to scroll).
   background-size: auto lets the SVG render at its own intrinsic tile size.
   Adjust the pixel value below if the tile appears too large or too small.
*/

.ap100-countdown {
  position: relative;
  padding: var(--ap100-section-pad) 1.5rem;
  background-color: var(--ap100-red);
  background-image: url('https://www.apsu.edu/100/images/red-background.svg');
  background-attachment: fixed;
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
}

/* Dark scrim over the parallax image */
.ap100-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

/* Lifts content above the scrim */
.ap100-countdown__inner {
  position: relative;
  z-index: 1;
}

/* Eyebrow label */
.ap100-countdown__label {
  text-align: center;
  color: var(--ap100-white);
  font-size: var(--ap100-text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 2.5rem;
}

.ap100-countdown__label:empty {
  display: none;
}

/* Timer row: units + separators */
.ap100-countdown__timer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.5rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

/* Single unit: card group + unit name */
.ap100-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Flex row of individual digit cards */
.ap100-countdown__cards {
  display: flex;
  gap: 5px;
}

/* DAYS / HOURS / MINUTES / SECONDS label */
.ap100-countdown__unit-name {
  font-size: var(--ap100-text-xs);
  color: var(--ap100-white);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Separator: two stacked white dots between each unit */
.ap100-countdown__sep {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  margin-top: clamp(14px, 3.5vw, 50px); /* align with card vertical midpoint */
}

.ap100-countdown__sep::before,
.ap100-countdown__sep::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 32em) {
  .ap100-countdown__sep {
    display: none;
  }
}

/* Visually hidden live region updated every ~10 s for screen readers */
.ap100-countdown__sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Expired message replaces the timer */
.ap100-countdown__expired {
  text-align: center;
}

.ap100-countdown__expired-msg {
  color: var(--ap100-white);
  font-size: clamp(var(--ap100-text-xl), 4vw, var(--ap100-text-4xl));
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 0;
}


/* -----------------------------------------------------------------------
   SPLIT-FLAT DIGIT CARD
   -----------------------------------------------------------------------
   Each digit slot is a card split horizontally:
   - White top half / light-gray bottom half / dark center divider
   - .ap100-flat-card__fold-top  (OLD digit, collapses downward on change)
   - .ap100-flat-card__fold-bot  (NEW digit, expands upward on change)
   - JS toggles .ap100-flat-card--flipping to trigger the animation
   ----------------------------------------------------------------------- */

.ap100-flat-card {
  position: relative;
  width:  clamp(52px, 9vw, 90px);
  height: clamp(70px, 12.5vw, 124px);
  border-radius: 6px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 2px 6px  rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Top half — white */
.ap100-flat-card__top {
  position: absolute;
  inset: 0 0 50% 0;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Bottom half — slightly darker */
.ap100-flat-card__bot {
  position: absolute;
  inset: 50% 0 0 0;
  overflow: hidden;
  background-color: #e4e4e4;
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/*
   Number typography.
   translateY(50%) on top spans shifts the digit down so only its upper half
   is visible through the overflow:hidden clip — and vice-versa for bottom.
*/
.ap100-flat-card__top > span,
.ap100-flat-card__fold-top > span {
  display: block;
  font-size:   clamp(52px, 9vw, 90px);
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
  transform: translateY(50%);
  user-select: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ap100-flat-card__bot > span,
.ap100-flat-card__fold-bot > span {
  display: block;
  font-size:   clamp(52px, 9vw, 90px);
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
  transform: translateY(-50%);
  user-select: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Center divider line */
.ap100-flat-card__line {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  right: 0;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 15;
  pointer-events: none;
}

/*
   Fold-top — overlays upper half; hidden at rest (scaleY 0).
   On flip: JS snaps it to scaleY(1) via the --flipping class,
   then the animation collapses it back to 0, revealing the new digit below.
*/
.ap100-flat-card__fold-top {
  position: absolute;
  inset: 0 0 50% 0;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-origin: bottom center;
  transform: scaleY(0);
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*
   Fold-bot — overlays lower half; hidden at rest (scaleY 0).
   On flip: expands from 0 → 1 after a short delay, revealing the new digit.
*/
.ap100-flat-card__fold-bot {
  position: absolute;
  inset: 50% 0 0 0;
  overflow: hidden;
  background-color: #e4e4e4;
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transform-origin: top center;
  transform: scaleY(0);
  z-index: 10;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Flip animations — active when JS adds .ap100-flat-card--flipping */

.ap100-flat-card--flipping .ap100-flat-card__fold-top {
  transform: scaleY(1);
  animation: ap100FoldTop 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.ap100-flat-card--flipping .ap100-flat-card__fold-bot {
  animation: ap100FoldBot 0.28s cubic-bezier(0, 0, 0.6, 1) 0.18s forwards;
}

@keyframes ap100FoldTop {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0); }
}

@keyframes ap100FoldBot {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* Instant snap for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ap100-flat-card--flipping .ap100-flat-card__fold-top {
    animation: none;
    transform: scaleY(0);
  }
  .ap100-flat-card--flipping .ap100-flat-card__fold-bot {
    animation: none;
    transform: scaleY(1);
  }
}

/* =============================================================================
   8. CELEBRATE WITH US
   ============================================================================= */

.ap100-events {
  background-color: var(--ap100-gray-light);
  padding: var(--ap100-section-pad) 1.5rem;
}

.ap100-events__inner {
  max-width: var(--ap100-max-w);
  margin: 0 auto;
}

.ap100-events__heading {
  text-align: center;
  font-size: clamp(var(--ap100-text-2xl), 4vw, var(--ap100-text-4xl));
  font-weight: 300;
  color: var(--ap100-black);
  margin: 0 0 2.5rem;
}

.ap100-events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 63.99em) {
  .ap100-events__grid {
    grid-template-columns: 1fr;
  }
}

.ap100-event-card {
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--ap100-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
  transition: box-shadow var(--ap100-ease), transform var(--ap100-ease);
}

.ap100-event-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.ap100-event-card__top {
  display: flex;
  flex-direction: row;
  height: 180px;
}

.ap100-event-card__date {
  background-color: var(--ap100-black);
  color: var(--ap100-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  min-width: 80px;
  flex-shrink: 0;
  line-height: 1;
  gap: 0.2rem;
}

.ap100-event-card__month {
  font-size: var(--ap100-text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ap100-event-card__day {
  font-size: var(--ap100-text-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ap100-event-card__image-wrap {
  flex: 1;
  overflow: hidden;
}

.ap100-event-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--ap100-ease);
}

.ap100-event-card:hover .ap100-event-card__image-wrap img {
  transform: scale(1.04);
}

.ap100-event-card__body {
  padding: 1.25rem;
  background-color: var(--ap100-white);
}

.ap100-event-card__title {
  font-size: var(--ap100-text-lg);
  font-weight: 700;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.ap100-event-card__title-link {
  color: var(--ap100-red);
  text-decoration: none;
  transition: color var(--ap100-ease);
}

.ap100-event-card__title-link:hover,
.ap100-event-card__title-link:focus-visible {
  color: var(--ap100-red-shadow);
  text-decoration: underline;
}

.ap100-event-card__title-link:focus-visible {
  outline: 2px solid var(--ap100-red);
  outline-offset: 2px;
  border-radius: 2px;
}

.ap100-event-card__meta {
  font-size: var(--ap100-text-sm);
  color: var(--ap100-black);
  margin: 0.15rem 0 0;
  line-height: 1.5;
}

.ap100-events__cta {
  display: flex;
  justify-content: center;
}

.ap100-events__cta-item {
  display: inline-flex;
  transform: skewX(-12deg);
}

.ap100-events__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 2px solid var(--ap100-red);
  color: var(--ap100-red);
  text-decoration: none;
  padding: 0 2.5rem;
  height: 52px;
  transition: background-color var(--ap100-ease),
              color var(--ap100-ease),
              border-color var(--ap100-ease);
}

.ap100-events__cta-btn:hover,
.ap100-events__cta-btn:focus-visible {
  background-color: var(--ap100-red);
  color: var(--ap100-white);
  border-color: var(--ap100-red);
}

.ap100-events__cta-btn:focus-visible {
  outline: 3px solid var(--ap100-red);
  outline-offset: 3px;
}

.ap100-events__cta-btn-text {
  display: inline-block;
  transform: skewX(12deg);
  font-size: var(--ap100-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}


/* =============================================================================
   9. 1927 HISTORICAL NARRATIVE / IMAGE-BASED TIMELINE TILE
   ============================================================================= */

.ap100-timeline {
  background-color: var(--ap100-white);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(4rem, 8vw, 6rem);
}

.ap100-timeline__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.ap100-timeline__desktop {
  display: block;
}

.ap100-timeline__desktop-artboard {
  position: relative;
  width: 100%;
}

.ap100-timeline__desktop-image {
  display: block;
  width: 100%;
  height: auto;
}

.ap100-timeline__overlay {
  position: absolute;
  z-index: 2;
  color: var(--ap100-black);
}

.ap100-timeline__overlay p {
  margin: 0;
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.ap100-timeline__overlay-headline {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1.1;
  font-weight: 700;
}

.ap100-timeline__overlay-headline--compact {
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
}

.ap100-timeline__overlay--intro {
  top: 1.8%;
  left: 27.5%;
  width: 60%;
}

.ap100-timeline__overlay--headline-a {
  top: 9.5%;
  left: 56%;
  width: 31%;
}

.ap100-timeline__overlay--body-a {
  top: 29%;
  left: 52%;
  width: 48%;
}

.ap100-timeline__overlay--body-b {
  top: 51.8%;
  left: 0.5%;
  width: 46%;
  text-align: right;
}

.ap100-timeline__overlay--headline-b {
  top: 61.1%;
  left: 72.5%;
  width: 31%;
}

.ap100-timeline__overlay--body-c {
  top: 64%;
  left: 72.5%;
  width: 37%;
}

.ap100-timeline__overlay--closing-body {
  top: 84%;
  left: 12%;
  width: 53%;
  text-align: right;
}
.ap100-timeline__overlay--closing-body p {
  font-size: clamp(1.1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}
.ap100-timeline__overlay--closing-headline {
  top: 94%;
  left: 0%;
  width: 45%;
  text-align: right;
}

.ap100-timeline__hotspot {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background-color: var(--ap100-red);
  color: var(--ap100-white);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform var(--ap100-ease), background-color var(--ap100-ease), box-shadow var(--ap100-ease);
}

.ap100-timeline__hotspot:hover,
.ap100-timeline__hotspot:focus-visible,
.ap100-timeline__hotspot[aria-expanded="true"] {
  background-color: var(--ap100-red-shadow);
  transform: scale(1.04);
}

.ap100-timeline__hotspot:focus-visible {
  outline: 3px solid var(--ap100-black);
  outline-offset: 3px;
}

.ap100-timeline__hotspot-plus {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.ap100-timeline__hotspot-plus::before,
.ap100-timeline__hotspot-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}

.ap100-timeline__hotspot-plus::before {
  width: 16px;
  height: 2px;
}

.ap100-timeline__hotspot-plus::after {
  width: 2px;
  height: 16px;
}

.ap100-timeline__hotspot--1  { top: 10%; left: 45%; }
.ap100-timeline__hotspot--2  { top: 17.5%; left: 95%; }
.ap100-timeline__hotspot--3  { top: 24.5%; left: 83.5%; }
.ap100-timeline__hotspot--4  { top: 27.5%; left: 20.8%; }
.ap100-timeline__hotspot--5  { top: 36.5%; left: 1%; }
.ap100-timeline__hotspot--6  { top: 47.5%; left: 50.5%; }
.ap100-timeline__hotspot--7  { top: 38.5%; left: 66.6%; }
.ap100-timeline__hotspot--8  { top: 54.1%; left: 85.8%; }
.ap100-timeline__hotspot--9  { top: 59.7%; left: 43.5%; }
.ap100-timeline__hotspot--10 { top: 69%; left: 6%; }
.ap100-timeline__hotspot--11 { top: 79.1%; left: 54.3%; }
.ap100-timeline__hotspot--12 { top: 73.2%; left: 95.2%; }

.ap100-timeline__desktop-popup {
  position: absolute;
  z-index: 5;
  width: min(320px, 28vw);
  padding: 1rem 1rem 1rem 1.1rem;
  background-color: var(--ap100-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.ap100-timeline__desktop-popup.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ap100-timeline__desktop-popup::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: var(--ap100-white);
  border: none;
}
/* Popup sits right of hotspot, arrow on popup's left edge */
.ap100-timeline__desktop-popup--right::before {
  top: 22px;
  left: -8px;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
/* Popup sits left of hotspot, arrow on popup's right edge */
.ap100-timeline__desktop-popup--left::before {
  top: 22px;
  right: -8px;
  transform: rotate(45deg);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
/* Popup sits below hotspot, arrow on popup's top edge */
.ap100-timeline__desktop-popup--below::before {
  top: -8px;
  left: 24px;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
/* Popup sits above hotspot, arrow on popup's bottom edge */
.ap100-timeline__desktop-popup--above::before {
  bottom: -8px;
  left: 24px;
  transform: rotate(45deg);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.ap100-timeline__desktop-popup-title {
  margin: 0 2rem 0.45rem 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 800;
}

.ap100-timeline__desktop-popup-body {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

.ap100-timeline__popup-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--ap100-black);
  cursor: pointer;
}

.ap100-timeline__popup-close::before,
.ap100-timeline__popup-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: currentColor;
}

.ap100-timeline__popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.ap100-timeline__popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ap100-timeline__popup-close:focus-visible {
  outline: 3px solid var(--ap100-red);
  outline-offset: 2px;
  border-radius: 999px;
}

.ap100-timeline__desktop-popup--1  { top: 9.7%; left: 49.5%; }
.ap100-timeline__desktop-popup--2  { top: 17.2%; left: 65.3%; }
.ap100-timeline__desktop-popup--3  { top: 24%; left: 52.8%; }
.ap100-timeline__desktop-popup--4  { top: 30%; left: 20%; }
.ap100-timeline__desktop-popup--5  { top: 39%; left: 0.225%; }
.ap100-timeline__desktop-popup--6  { top: 50%; left: 49.75%; }
.ap100-timeline__desktop-popup--7  { top: 38.35%; left: 71.2%; }
.ap100-timeline__desktop-popup--8  { top: 53.8%; left: 56%; }
.ap100-timeline__desktop-popup--9  { top: 59.3%; left: 48.8%; }
.ap100-timeline__desktop-popup--10 { top: 56.5%; left: 5.18%; }
.ap100-timeline__desktop-popup--11 { top: 81.5%; left: 53.5%; }
.ap100-timeline__desktop-popup--12 { top: 72.8%; left: 65%; }

.ap100-timeline__mobile {
  display: none;
}

.ap100-timeline__mobile-block {
  margin-top: 2rem;
}

.ap100-timeline__mobile-text {
  max-width: 42rem;
  padding-top: 1rem;
  margin: 0 auto;
}

.ap100-timeline__mobile-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.ap100-timeline__mobile-text + .ap100-timeline__mobile-panel,
.ap100-timeline__mobile-panel + .ap100-timeline__mobile-text {
  margin-top: 1.5rem;
}

.ap100-timeline__mobile-panel {
  position: relative;
}

.ap100-timeline__mobile-image {
  display: block;
  width: 100%;
  height: auto;
}

.ap100-timeline__mobile-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background-color: var(--ap100-white);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
  padding: 1.25rem 1.25rem 1.5rem;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0.22s ease;
}

.ap100-timeline__mobile-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
}

.ap100-timeline__mobile-sheet-title {
  margin: 0 2rem 0.55rem 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 800;
}

.ap100-timeline__mobile-sheet-body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.ap100-timeline__mobile-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background-color: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.ap100-timeline__mobile-sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ap100-timeline__mobile-panel--1 .ap100-timeline__hotspot--1  { top: 34%; left: 52.5%; }
.ap100-timeline__mobile-panel--1 .ap100-timeline__hotspot--2  { top: 48%; left: 90%; }
.ap100-timeline__mobile-panel--1 .ap100-timeline__hotspot--3  { top: 48%; left: 31%; }

.ap100-timeline__mobile-panel--9 .ap100-timeline__hotspot--4  { top: 4%; left: 5%; }
.ap100-timeline__mobile-panel--9 .ap100-timeline__hotspot--5  { top: 69%; left: 52%; }
.ap100-timeline__mobile-panel--9 .ap100-timeline__hotspot--6  { top: 37%; left: 89%; }

.ap100-timeline__mobile-panel--2 .ap100-timeline__hotspot--7  { top: 33%; left: 13%; }
.ap100-timeline__mobile-panel--2 .ap100-timeline__hotspot--8  { top: 51%; left: 59%; }
.ap100-timeline__mobile-panel--2 .ap100-timeline__hotspot--9  { top: 80%; left: 90%; }

.ap100-timeline__mobile-panel--7 .ap100-timeline__hotspot--10 { top: 4%; left: 17%; }
.ap100-timeline__mobile-panel--7 .ap100-timeline__hotspot--11 { top: 33%; left: 46%; }
.ap100-timeline__mobile-panel--7 .ap100-timeline__hotspot--12 { top: 9%; left: 79%; }

@media (max-width: 92em) {
	.ap100-timeline__overlay--headline-b {
		top: 60.5%;
		left: 68%;
		width: 28%;
	}
	.ap100-timeline__overlay--body-c {
		top: 64.5%;
		left: 68%;
		width: 28%;
	}
	.ap100-timeline__overlay--closing-body{
		left: 9%;
		width: 61%;
	}
}

@media (max-width: 62em) {
	.ap100-timeline {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ap100-timeline__desktop {
    display: none;
  }

  .ap100-timeline__mobile {
    display: block;
  }
  .ap100-timeline__hotspot {
    width: 44px;
    height: 44px;
    background-color: transparent;
    box-shadow: none;
  }
  .ap100-timeline__hotspot::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    background-color: var(--ap100-red);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  }
  .ap100-timeline__hotspot-plus {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
  }
  .ap100-timeline__hotspot-plus::before {
    width: 12px;
  }
  .ap100-timeline__hotspot-plus::after {
    height: 12px;
  }
}

@media (max-width: 47em) {
  .ap100-timeline__hotspot::before {
    inset: 9px;
  }
  .ap100-timeline__hotspot-plus {
    width: 10px;
    height: 10px;
  }
  .ap100-timeline__hotspot-plus::before {
    width: 10px;
    height: 2px;
  }
  .ap100-timeline__hotspot-plus::after {
    width: 2px;
    height: 10px;
  }
}

@media (max-width: 26em) {
  .ap100-timeline__hotspot::before {
    inset: 11px;
  }
  .ap100-timeline__hotspot-plus {
    width: 8px;
    height: 8px;
  }
  .ap100-timeline__hotspot-plus::before {
    width: 8px;
  }
  .ap100-timeline__hotspot-plus::after {
    height: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap100-timeline__hotspot,
  .ap100-timeline__desktop-popup,
  .ap100-timeline__mobile-sheet,
  .ap100-timeline__mobile-sheet-backdrop {
    transition: none;
  }
}


/* =============================================================================
   10. STORIES THAT SHAPED US
   ============================================================================= */

.ap100-stories {
  background-color: var(--ap100-black);
  padding: var(--ap100-section-pad) 1.5rem;
}

.ap100-stories__inner {
  max-width: var(--ap100-max-w);
  margin: 0 auto;
}

.ap100-stories__heading {
  text-align: center;
  font-size: clamp(var(--ap100-text-2xl), 4vw, var(--ap100-text-4xl));
  font-weight: 300;
  color: var(--ap100-white);
  margin: 0 0 2.5rem;
}

.ap100-stories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.ap100-story-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ap100-story-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(20%);
}

.ap100-story-card__excerpt {
  font-size: var(--ap100-text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  flex: 1;
}

.ap100-story-card__name {
  font-size: var(--ap100-text-base);
  font-weight: 700;
  color: var(--ap100-white);
  margin: 0;
}

.ap100-story-card__detail {
  font-size: var(--ap100-text-xs);
  color: var(--ap100-gray-light);
  letter-spacing: 0.05em;
  margin: 0;
}

.ap100-story-card__link {
  display: inline-block;
  font-size: var(--ap100-text-sm);
  color: var(--ap100-red);
  text-decoration: underline;
  transition: color var(--ap100-ease);
}

.ap100-story-card__link:hover {
  color: var(--ap100-white);
}

.ap100-story-card__link:empty {
  display: none;
}

.ap100-stories__cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* =============================================================================
   11. TWO-COLUMN PROMO
   ============================================================================= */

/*
   Layout: image column + text/content column in a 1fr 1fr grid.
   A light gray panel fades to transparent where the image begins.
   The overall section background is white; the transparent portion
   of the gradient merges with it seamlessly.

   Modifier classes:
     ap100-promo--img-left  — image on left, text on right, panel on right
     (default)              — text on left, image on right, panel on left
     ap100-promo--light     — dark text on light/white background
     ap100-promo--dark      — white text (future dark/red bg variants)
*/

.ap100-promo {
  position: relative;
  padding: var(--ap100-section-pad) 1.5rem;
  background-color: var(--ap100-white);
  overflow: hidden;
}

/* Gray fade panel — inset on all 4 sides so white space shows around each block */
.ap100-promo::before {
  content: '';
  position: absolute;
  top: var(--ap100-section-pad);
  bottom: var(--ap100-section-pad);
  left: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(
    to right,
    var(--ap100-gray-light)  0%,
    var(--ap100-gray-light) 55%,
    transparent             100%
  );
  pointer-events: none;
  z-index: 0;
}

/* --img-left: image left → panel solid on right, fades toward left */
.ap100-promo--img-left::before {
  background: linear-gradient(
    to left,
    var(--ap100-gray-light)  0%,
    var(--ap100-gray-light) 55%,
    transparent             100%
  );
}

.ap100-promo__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ap100-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* Default: text left (order 1), image right (order 2) */
.ap100-promo__img-col  { order: 2; padding: clamp(4rem, 6vw, 6rem) 0; }
.ap100-promo__text-col { order: 1; }

/* --img-left: image left (order 1), text right (order 2) */
.ap100-promo--img-left .ap100-promo__img-col  { order: 1; }
.ap100-promo--img-left .ap100-promo__text-col { order: 2; }

.ap100-promo__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Text column is centered within its half */
.ap100-promo__text-col {
  text-align: center;
  padding: 2rem 1rem;
}

.ap100-promo__heading {
  font-size: clamp(var(--ap100-text-2xl), 4vw, var(--ap100-text-4xl));
  font-weight: 300;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.ap100-promo__body {
  font-size: clamp(var(--ap100-text-base), 1.8vw, var(--ap100-text-lg));
  line-height: 1.8;
  margin: 0 auto 1.75rem;
  max-width: 44ch;
}

/* Color themes */
.ap100-promo--light .ap100-promo__heading,
.ap100-promo--light .ap100-promo__body {
  color: var(--ap100-black);
}

.ap100-promo--dark .ap100-promo__heading,
.ap100-promo--dark .ap100-promo__body {
  color: var(--ap100-white);
}

/* CTA button — parallelogram style matching .ap100-events__cta-btn */
.ap100-promo__cta {
  display: flex;
  justify-content: center;
}

.ap100-promo__cta-item {
  display: inline-flex;
  transform: skewX(-12deg);
}

.ap100-promo__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 2px solid var(--ap100-red);
  color: var(--ap100-red);
  text-decoration: none;
  padding: 0 2.5rem;
  height: 52px;
  transition: background-color var(--ap100-ease),
              color            var(--ap100-ease),
              border-color     var(--ap100-ease);
}

.ap100-promo__cta-btn:hover,
.ap100-promo__cta-btn:focus-visible {
  background-color: var(--ap100-red);
  border-color: var(--ap100-red);
  color: var(--ap100-white);
}

.ap100-promo__cta-btn:focus-visible {
  outline: 3px solid var(--ap100-red);
  outline-offset: 3px;
}

/* Counter-skew so button text reads upright */
.ap100-promo__cta-btn-text {
  display: inline-block;
  transform: skewX(12deg);
  font-size: var(--ap100-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Dark background override */
.ap100-promo--dark .ap100-promo__cta-btn {
  border-color: var(--ap100-white);
  color: var(--ap100-white);
}

.ap100-promo--dark .ap100-promo__cta-btn:hover,
.ap100-promo--dark .ap100-promo__cta-btn:focus-visible {
  background-color: var(--ap100-white);
  border-color: var(--ap100-white);
  color: var(--ap100-black);
}

/* Mobile — single column, gradient flips to vertical bottom fade */
@media (max-width: 47.99em) {
  .ap100-promo__inner {
    grid-template-columns: 1fr;
  }

  .ap100-promo__img-col,
  .ap100-promo__text-col,
  .ap100-promo--img-left .ap100-promo__img-col,
  .ap100-promo--img-left .ap100-promo__text-col {
    order: unset;
  }

  /* Panel stays inset; vertical gradient fades upward from text area */
  .ap100-promo::before,
  .ap100-promo--img-left::before {
    top: var(--ap100-section-pad);
    bottom: var(--ap100-section-pad);
    left: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(
      to top,
      var(--ap100-gray-light)  0%,
      var(--ap100-gray-light) 60%,
      transparent             100%
    );
  }
}


/* ---- ap100-promo-pair: stacked layout with outer gutters ---- */

.ap100-promo-pair {
  display: grid;
  gap: clamp(0.375rem, 1vw, 0.75rem);
  width: min(calc(100% - 3rem), 1320px);
  margin: 0 auto;
}

.ap100-promo-pair .ap100-promo {
  padding-top: clamp(1rem, 2.5vw, 2rem);
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
}

.ap100-promo-pair .ap100-promo__img-col {
  padding: clamp(1rem, 2.5vw, 2rem) 0;
}

.ap100-promo-pair .ap100-promo::before,
.ap100-promo-pair .ap100-promo--img-left::before {
  top: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
}

@media (max-width: 47.99em) {
  .ap100-promo-pair {
    width: min(calc(100% - 2rem), 1320px);
    gap: 1rem;
  }
}


/* =============================================================================
   12b. PRESIDENT QUOTE TILE
   ============================================================================= */

.ap100-president-quote {
  position: relative;
  overflow: hidden;
  background-color: var(--ap100-red);
  padding: clamp(2rem, 4vw, 3rem) 1.5rem;
  color: var(--ap100-white);
  isolation: isolate;
}

.ap100-president-quote__bg {
  position: absolute;
  top: -8%;
  right: 0;
  bottom: -8%;
  width: clamp(340px, 26vw, 500px);
  background-image: url('/100/images/ap-logo-black.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ap100-president-quote__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ap100-president-quote__blockquote {
  margin: 0;
}

.ap100-president-quote__text {
  margin: 0;
  font-size: clamp(1.5rem, 2.1vw, 2.0rem);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ap100-white);
  text-wrap: balance;
}

.ap100-president-quote__attribution {
  margin-top: 2rem;
}

.ap100-president-quote__name {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ap100-white);
}

.ap100-president-quote__title {
  margin: 0.35rem 0 0;
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  line-height: 1.4;
  font-weight: 700;
  color: var(--ap100-white);
}

@media (max-width: 47.99em) {
  .ap100-president-quote {
    padding: 3.5rem 1.25rem;
  }

  .ap100-president-quote__bg {
    top: 49%;
    right: 50%;
    bottom: auto;
    width: 75%;
    height: 75%;
    transform: translate(50%, -50%);
    background-position: center center;
    background-size: contain;
    opacity: 0.06;
  }

  .ap100-president-quote__text {
    line-height: 1.5;
  }

  .ap100-president-quote__attribution {
    margin-top: 1.5rem;
  }
}

/* =============================================================================
   13. SHARED BUTTON STYLES
   ============================================================================= */

.ap100-btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: 2em;
  font-size: var(--ap100-text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ap100-ease),
              border-color var(--ap100-ease),
              color var(--ap100-ease),
              box-shadow var(--ap100-ease);
}

/* Solid red */
.ap100-btn--red {
  background-color: var(--ap100-red);
  border: 2px solid var(--ap100-red);
  color: var(--ap100-white);
}

.ap100-btn--red:hover,
.ap100-btn--red:focus-visible {
  background-color: var(--ap100-red-shadow);
  border-color: var(--ap100-red-shadow);
  color: var(--ap100-white);
}

/* Outlined white (for dark backgrounds) */
.ap100-btn--outline-white {
  background-color: transparent;
  border: 2px solid var(--ap100-white);
  color: var(--ap100-white);
}

.ap100-btn--outline-white:hover,
.ap100-btn--outline-white:focus-visible {
  background-color: var(--ap100-white);
  color: var(--ap100-black);
}

/* Outlined red (for light backgrounds) */
.ap100-btn--outline-red {
  background-color: transparent;
  border: 2px solid var(--ap100-red);
  color: var(--ap100-red);
}

.ap100-btn--outline-red:hover,
.ap100-btn--outline-red:focus-visible {
  background-color: var(--ap100-red);
  color: var(--ap100-white);
}


/* =============================================================================
   14. HERO NAV BAR
   ============================================================================= */

/*
   Separate CMS component placed immediately after the hero.
   Negative top margin pulls it 30px up into the hero above;
   the same 30px protrudes into the section below — creating the straddle.
*/

.ap100-hero-nav {
  position: relative;
  z-index: 50;
  width: 100%;
  height: 10px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full-width black bar — sits behind the buttons */
.ap100-hero-nav__track {
  position: absolute;
  inset: 0;
  background-color: var(--ap100-black);
  z-index: 0;
}

.ap100-hero-nav__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 25px;
}

/* Each <li> is skewed to create the parallelogram shape */
.ap100-hero-nav__item {
  display: flex;
  transform: skewX(-12deg);
}

.ap100-hero-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ap100-red);
  color: var(--ap100-white);
  text-decoration: none;
  padding: 0 2.25rem;
  min-width: 150px;
  height: 60px;
  transition: background-color var(--ap100-ease);
}

.ap100-hero-nav__btn:hover,
.ap100-hero-nav__btn:focus-visible {
  background-color: var(--ap100-red-shadow);
  color: var(--ap100-white);
}

.ap100-hero-nav__btn:focus-visible {
  outline: 3px solid var(--ap100-white);
  outline-offset: 3px;
}

/* Counter-skew applied to text so it reads upright despite the slanted <li> */
.ap100-hero-nav__btn-text {
  display: inline-block;
  transform: skewX(12deg);
  font-size: var(--ap100-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap100-white);
  white-space: nowrap;
}

/* Mobile: 2×2 button grid */
@media (max-width: 47.99em) {
  .ap100-hero-nav {
    height: auto;
    margin-top: -22px;
    padding: 3px 0;
  }

  .ap100-hero-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
  }

  .ap100-hero-nav__item {
    flex: 1 0 calc(50% - 3px);
    max-width: calc(50% - 3px);
  }

  .ap100-hero-nav__btn {
    width: 100%;
    min-width: unset;
    height: 50px;
    padding: 0 1.25rem;
  }
}
