/* Presidents Cup Slides 2 + 4 and shared chrome: proportional desktop lock.
   Reference: the approved 1920 x 1080 CSS artboard captured by
   tools/render-presidents-4k.cjs (3840 x 2160 export at DPR 2).
   A window's width is not its slide width: browser chrome and available height
   can make the slide much smaller. Keep type, spacing and effects tied to cqw,
   without pixel minima or height-based type changes. Mobile retains its
   existing <= 800px document reflow. Load after presidents-polish.css. */
.deck-presidents .presidents-outing-slide .ism-rationale strong {
  /* Emphasis keeps its color/weight, not a conflicting historical 1.08em size. */
  font-size: inherit;
}

@media (min-width: 801px) and (min-height: 501px), (min-width: 951px) {
  .deck-presidents .presidents-outing-slide,
  .deck-presidents .presidents-brand-polish {
    font-size: calc(16cqw / 19.2);
  }

  .deck-presidents .presidents-outing-slide {
    --outing-explanation-size: calc(20cqw / 19.2);
  }

  .deck-presidents .deck-contact-footer {
    font-size: .52cqw;
    text-shadow: 0 calc(2cqw / 19.2) calc(8cqw / 19.2) rgba(0, 13, 7, .98);
  }

  .deck-presidents .deck-contact-footer small {
    font-size: .88em;
  }

  .deck-presidents .presidents-package-polish .slide-kicker {
    font-size: .72cqw;
    text-shadow: 0 calc(2cqw / 19.2) calc(9cqw / 19.2) rgba(2, 15, 9, .94);
  }

  /* Slide 2: keep the approved itinerary and add the supplied guest-speaker
     photograph as an equal fourth moment without changing the copy column. */
  .deck-presidents .presidents-outing-slide .ism-narrative h2 {
    font-size: calc(62cqw / 19.2);
    line-height: 1.05;
  }

  .deck-presidents .presidents-outing-slide .ism-course-clarifier {
    font-size: var(--outing-explanation-size);
    line-height: 1.34;
    border-top-width: calc(1cqw / 19.2);
    border-bottom-width: calc(1cqw / 19.2);
    text-shadow: 0 calc(2cqw / 19.2) calc(10cqw / 19.2) rgba(3, 16, 10, .72);
  }

  .deck-presidents .presidents-outing-slide .ism-phase-number {
    font-size: 1.7cqw;
  }

  .deck-presidents .presidents-outing-slide .ism-phase-detail + .ism-phase-detail {
    border-top-width: calc(1cqw / 19.2);
  }

  .deck-presidents .presidents-outing-slide .ism-phase-detail h3 {
    font-size: calc(21.5cqw / 19.2);
  }

  .deck-presidents .presidents-outing-slide .ism-phase-detail div > p {
    font-size: calc(27.5cqw / 19.2);
    line-height: 1.36;
  }

  .deck-presidents .presidents-outing-slide .ism-phase-detail div > p strong {
    text-shadow: 0 0 calc(16cqw / 19.2) rgba(213, 187, 136, .28);
  }

  .deck-presidents .presidents-outing-slide .ism-rationale {
    font-size: var(--outing-explanation-size);
    line-height: 1.28;
  }

  .deck-presidents .presidents-outing-slide .ism-marker-rail figcaption {
    font-size: calc(19cqw / 19.2);
  }

  .deck-presidents .presidents-outing-slide .ism-marker-rail {
    grid-template-columns: repeat(4, 7.5cqw);
  }

  .deck-presidents .presidents-outing-slide .ism-marker-line {
    width: 31.8cqw;
  }

  .deck-presidents .presidents-outing-slide .ism-marker-rail figure:nth-of-type(4) img {
    object-position: 50% 28%;
  }

  /* Slide 4: retain both complete comments and the approved 1.55:1 quote split. */
  .deck-presidents .presidents-brand-polish .slide-kicker {
    font-size: calc(15cqw / 19.2);
    text-shadow: 0 calc(2cqw / 19.2) calc(12cqw / 19.2) rgba(0, 0, 0, .48);
  }

  .deck-presidents .presidents-brand-polish .presidents-brand-story h2 {
    font-size: calc(64cqw / 19.2);
    line-height: .96;
    text-shadow: 0 calc(3cqw / 19.2) calc(18cqw / 19.2) rgba(0, 0, 0, .48);
  }

  .deck-presidents .presidents-brand-polish .brand-lead {
    margin-top: .95cqw;
    font-size: calc(17.5cqw / 19.2);
    line-height: 1.42;
    text-shadow: 0 calc(2cqw / 19.2) calc(12cqw / 19.2) rgba(0, 0, 0, .42);
  }

  .deck-presidents .presidents-brand-polish .client-perspectives {
    margin-top: .9cqw;
  }

  .deck-presidents .presidents-brand-polish .client-perspectives-label {
    font-size: calc(11.5cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .client-perspectives-label::before {
    min-height: 0;
  }

  .deck-presidents .presidents-brand-polish .client-quote-pair {
    gap: 1.05cqw;
    margin-top: .75cqw;
  }

  .deck-presidents .presidents-brand-polish .client-quote-pair .client-quote {
    margin: 0;
    padding: .7cqw 0 .2cqw;
    border-top-width: calc(1cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .client-quote-pair blockquote {
    margin-bottom: .55cqw;
    font-size: calc(16.5cqw / 19.2);
    line-height: 1.22;
  }

  .deck-presidents .presidents-brand-polish .client-quote-pair cite {
    font-size: .54cqw;
  }

  /* Enlarge the right-hand comment without changing the approved quote split. */
  .deck-presidents .presidents-brand-polish .client-quote-pair .client-quote:nth-child(2) blockquote {
    font-size: calc(18.5cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .client-quote-pair .client-quote:nth-child(2) cite {
    font-size: .61cqw;
  }

  .deck-presidents .presidents-brand-polish .brand-partners {
    border-width: calc(1cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .brand-partners > span {
    font-size: calc(13.5cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .brand-partners > div {
    gap: calc(19cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .brand-partners img {
    max-height: calc(44cqw / 19.2);
    filter: drop-shadow(0 calc(2cqw / 19.2) calc(7cqw / 19.2) rgba(0, 0, 0, .68));
  }

  .deck-presidents .presidents-brand-polish .presidents-close-band {
    gap: 1.65cqw;
    padding: 1.02cqw 4.7cqw 1.2cqw;
    border-top-width: calc(1cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .seller-handoff strong {
    font-size: 1.25cqw;
  }

  .deck-presidents .presidents-brand-polish .seller-handoff p {
    margin-top: .3cqw;
    font-size: .78cqw;
    line-height: 1.34;
  }

  .deck-presidents .presidents-brand-polish .seller-handoff a {
    margin-top: .38cqw;
    font-size: .82cqw;
  }

  .deck-presidents .presidents-brand-polish .seller-handoff a:focus-visible {
    outline-width: calc(2cqw / 19.2);
    outline-offset: calc(5cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .business-objectives > p {
    font-size: .6cqw;
  }

  .deck-presidents .presidents-brand-polish .arg-line {
    gap: .65cqw;
    font-size: calc(28.5cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .arg-line-detailed > span {
    gap: .3cqw;
  }

  .deck-presidents .presidents-brand-polish .arg-line-detailed small {
    font-size: calc(14.5cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .arg-line-detailed i {
    margin-top: calc(16cqw / 19.2);
  }

  .deck-presidents .presidents-brand-polish .legal-line {
    bottom: .35cqw;
    font-size: .62cqw;
  }
}

@media (max-width: 800px), (max-width: 950px) and (max-height: 500px) {
  /* Keep both explanatory boxes equal after the existing mobile reflow. */
  .deck-presidents .presidents-outing-slide {
    --outing-explanation-size: 20px;
  }

  .deck-presidents .presidents-outing-slide .ism-course-clarifier,
  .deck-presidents .presidents-outing-slide .ism-rationale {
    font-size: var(--outing-explanation-size);
  }

  .deck-presidents .presidents-outing-slide .ism-phase-detail div > p {
    font-size: 16px;
  }

  .deck-presidents .presidents-outing-slide .ism-marker-rail {
    grid-template-columns: repeat(4, 21cqw);
  }

  .deck-presidents .presidents-outing-slide .ism-marker-line {
    top: 10.5cqw;
    left: 10.5cqw;
    width: calc(100% - 21cqw);
  }

  .deck-presidents .presidents-outing-slide .ism-marker-rail figure,
  .deck-presidents .presidents-outing-slide .ism-marker-rail figure img {
    width: 21cqw;
  }

  .deck-presidents .presidents-outing-slide .ism-marker-rail figure img {
    height: 21cqw;
  }

  .deck-presidents .presidents-outing-slide .ism-marker-rail figure:nth-of-type(4) img {
    object-position: 50% 28%;
  }

  .deck-presidents .presidents-brand-polish .client-quote-pair .client-quote:nth-child(2) blockquote {
    font-size: 17px;
  }

  .deck-presidents .presidents-brand-polish .client-quote-pair .client-quote:nth-child(2) cite {
    font-size: 10.25px;
  }

  /* Preserve the approved mobile canvas height while keeping the stacked
     story clear of the close band at ordinary browser widths. */
  .deck-presidents .presidents-brand-polish .presidents-brand-story {
    top: 360px;
  }

  .deck-presidents .presidents-brand-polish .seller-handoff p {
    font-size: 12px;
    line-height: 1.4;
  }

  .deck-presidents .presidents-brand-polish .seller-handoff a {
    font-size: 13px;
    line-height: 1.35;
  }

  .deck-presidents .presidents-brand-polish .brand-partners > span {
    font-size: 11.5px;
  }

  .deck-presidents .presidents-brand-polish .business-objectives > p {
    font-size: 8.5px;
    margin-bottom: 4px;
  }

  .deck-presidents .presidents-brand-polish .arg-line {
    font-size: 27px;
  }

  .deck-presidents .presidents-brand-polish .arg-line-detailed small {
    font-size: 8px;
  }
}
