/**
 * "Les Partenaires" page (template: archery-partenaires-template.php).
 *
 * Loaded only on pages using that template (see inc/enqueue.php). Holds the
 * page's own layout: the hero panel, the partner quotes, the three values, the
 * territories, the patrons' logo wall, the pro bono panel, the partner schools
 * and the closing "Devenir partenaire" box. The shared design system (buttons,
 * banner, top bar, footer, mobile menu, .photo-slot) lives in styles.css /
 * tablet.css / mobile.css and is reused as-is.
 *
 * Transcribed from the prototype (partenaires.html). Deliberate differences:
 *
 * - Its standalone-header hacks are dropped (`.ui-banner`/`.ui-footer`
 *   overrides, the sticky Menu clone, the `.ui-bt-actions` hiding rule): the
 *   theme's inner banner (template-parts/inner-banner.php) renders that row.
 * - The page root is `.ptn`, not the prototype's two-letter `.pt`, and every
 *   rule is scoped under it, like `.prg` (Le Programme) and `.men` (Mentors).
 * - Its inline styles are moved here (the 56px values title, the black quote
 *   mark on the cyan card, the navy "Votre logo ici").
 * - No text below 14px, like every other page stylesheet: the 9–13.5px
 *   labels and body copy of the prototype are raised to 14px.
 * - "Votre logo ici" is set in Montserrat, the prototype's own fallback, rather
 *   than in Anton: the theme loads no other font.
 * - The card hover lifts use `translate`, not `transform`: the entrance
 *   animation fills `transform` forever, which silently cancelled them.
 * - Unused prototype rules (marquee, hero stats, chips, routes…) are left out.
 */

/* ============================================================
   Shared bits this page leans on
   ============================================================ */
.ptn .serif {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  margin: 0;
}

/* ============================================================
   Entrance animations

   `.va-up` plays on load (the hero is above the fold); `.rv` and `.rg > *`
   play on scroll through a view() timeline, as on "Le Programme", so this page
   needs no script of its own. Browsers without animation-timeline get the
   content unanimated rather than hidden.
   ============================================================ */
@keyframes ptn-vup {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ptn-blink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.ptn .va-up {
  animation: ptn-vup 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@supports (animation-timeline: view()) {
  .ptn .rv {
    animation: ptn-vup 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 38%;
  }

  .ptn .rg > * {
    animation: ptn-vup 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptn .va-up,
  .ptn .rv,
  .ptn .rg > *,
  .ptn .hero-eyebrow::before {
    animation: none;
  }
}

/* ============================================================
   Page root
   ============================================================ */
.ptn {
  padding: 15px 15px 64px;
}

/* Tablet + mobile: the inner banner is hidden and the fixed .ui-menu-mobile bar
   takes over (position: fixed), so push the content down to clear it. */
@media (max-width: 1280px) {
  .ptn {
    margin-top: 100px;
  }
}

.ptn .blk {
  padding: 0 2px;
}

/* ============================================================
   HERO — sky-blue panel, orange eyebrow, two-line title, lede
   ============================================================ */
.ptn .hero {
  position: relative;
  overflow: hidden;
  background: #d0eff2;
  color: #000;
  border-radius: 24px;
  padding: 40px 38px 38px;
  margin-top: 20px;
}

.ptn .hero-in {
  position: relative;
  z-index: 1;
}

.ptn .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e9511c;
  background: #e9511c;
  border-radius: 13px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #f8feff;
  margin-bottom: 26px;
}

.ptn .hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f8feff;
  animation: ptn-blink 1.8s ease-in-out infinite;
}

.ptn .hero-title {
  font-size: clamp(52px, 10.5vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
  width: 100%;
  overflow-wrap: break-word;
}

.ptn .hero-title i {
  color: #e9511c;
  font-style: italic;
}

.ptn .hero-title .l2 {
  display: block;
  text-align: right;
}

.ptn .hero-body {
  margin-top: 40px;
}

.ptn .hero-lede {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.68);
  margin: 0;
  max-width: 720px;
}

.ptn .hero-lede b,
.ptn .hero-lede strong {
  color: #000;
}

/* ============================================================
   CITATIONS — three cards, white / cyan / sky blue by position
   ============================================================ */
.ptn .pq {
  padding-top: 38px;
}

.ptn .pq-head {
  margin-bottom: 26px;
}

.ptn .pq-head h2 {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: #000;
}

.ptn .pq-head h2 i {
  color: #e9511c;
  font-style: italic;
}

.ptn .pq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.ptn .pqc {
  margin: 0;
  background: #f8feff;
  border: 1px solid #70cbd3;
  border-radius: 24px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    translate 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s;
}

.ptn .pqc:hover {
  translate: 0 -4px;
  background: #fff;
}

/* The colour cycle is positional, not editorial: 2nd of each three is cyan
   ("dark" in the prototype), 3rd is sky blue. Declared after :hover so those
   two keep their own background when hovered, as in the prototype. */
.ptn .pqc:nth-child(3n + 2) {
  background: #70cbd3;
  border-color: #70cbd3;
}

.ptn .pqc:nth-child(3n) {
  background: #d0eff2;
  border-color: #d0eff2;
}

.ptn .pqc-m {
  font-family: Castoro, Georgia, serif;
  font-style: italic;
  font-size: 52px;
  line-height: 0.6;
  color: #70cbd3;
}

.ptn .pqc:nth-child(3n + 2) .pqc-m {
  color: #000;
}

.ptn .pqc:nth-child(3n) .pqc-m {
  color: #e9511c;
}

.ptn .pqc blockquote {
  font-family: Castoro, Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
}

.ptn .pqc-a {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  padding-top: 16px;
}

.ptn .pqc:nth-child(3n + 2) .pqc-a {
  border-top-color: rgba(0, 0, 0, 0.18);
}

.ptn .pqc-n {
  font-size: 14px;
  font-weight: 700;
}

.ptn .pqc-r {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.5;
}

.ptn .pqc:nth-child(3n + 2) .pqc-r {
  color: rgba(0, 0, 0, 0.6);
}

/* ============================================================
   VALEURS — split heading, then the home "cinq leviers" cards
   ============================================================ */
.ptn .lev {
  padding-top: 42px;
}

.ptn .lev-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* 56px: the size the prototype set inline, over its own fluid clamp(). */
.ptn .lev-tl h2 {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  color: #000;
}

.ptn .lev-sub {
  font-family: Castoro, Georgia, serif;
  font-style: italic;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  color: #000;
}

.ptn .lev-tr {
  max-width: 440px;
  text-align: right;
}

.ptn .lev-aside {
  font-family: Castoro, Georgia, serif;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.ptn .lev-aside i {
  color: #e9511c;
  font-style: italic;
}

.ptn .lev-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.62);
  margin: 0;
}

.ptn .lev-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ptn .lev-card {
  position: relative;
  border-radius: 16px;
  padding: 28px 26px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #d0eff2;
  transition:
    translate 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s;
}

.ptn .lev-card:hover {
  translate: 0 -6px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.14);
}

/* Cyan ramp, by position. */
.ptn .lev-card:nth-child(3n + 2) {
  background: #b4e4e8;
}

.ptn .lev-card:nth-child(3n) {
  background: #92d8de;
}

.ptn .lev-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.ptn .lev-name {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  writing-mode: vertical-rl;
  margin: 0;
  color: #000;
}

.ptn .lev-pill {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border: 1px solid #000;
  border-radius: 15px;
  white-space: nowrap;
}

.ptn .lev-foot {
  text-align: center;
}

.ptn .lev-n {
  font-family: Castoro, Georgia, serif;
  font-size: 34px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #000;
}

.ptn .lev-foot p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.72);
  margin: 0;
}

/* ============================================================
   TERRITOIRES — heading + text, one cyan card per city
   ============================================================ */
/* The bordered sections (.vil, .mec, .eta) get the same space above their
   rule as below it, so the line never sits flush on the cards of the
   section before. */
.ptn .vil {
  margin-top: 64px;
  padding: 64px 2px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.ptn .vil-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.ptn .vil-head h2 {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* The italic part sits on its own line (a <br> in the prototype). */
.ptn .vil-head h2 i {
  display: block;
  color: #e9511c;
  font-style: italic;
}

.ptn .vil-head p {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

.ptn .terr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ptn .tq {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 34px 32px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #d0eff2;
  transition:
    translate 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s;
}

.ptn .tq:hover {
  translate: 0 -6px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.14);
}

/* Cyan ramp, by position. */
.ptn .tq:nth-child(4n + 2) {
  background: #b4e4e8;
}

.ptn .tq:nth-child(4n + 3) {
  background: #92d8de;
}

.ptn .tq:nth-child(4n) {
  background: #70cbd3;
}

.ptn .tq-region {
  position: relative;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f8feff;
  border-radius: 20px;
  padding: 6px 13px;
}

/* Bottom of the card even when the region pill is left empty. */
.ptn .tq-b {
  position: relative;
  margin-top: auto;
}

.ptn .tq-name {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
}

/* Wraps: at 14px the uppercase labels no longer fit side by side in the
   narrower four-column widths. */
.ptn .tq-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.ptn .tq-stat .n {
  font-family: Castoro, Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ptn .tq-stat .l {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 4px;
}

/* ============================================================
   MÉCÈNES — the home "partners" logo tiles
   ============================================================ */
.ptn .mec {
  margin-top: 64px;
  padding: 64px 2px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.ptn .mec-title {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 82px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.ptn .mec-title i {
  color: #e9511c;
  font-style: italic;
}

.ptn .mec-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.ptn .mlogo {
  position: relative;
  border-radius: 15px;
  background: #d0eff2;
  aspect-ratio: 1 / 0.95;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  overflow: hidden;
  color: #000;
  transition: background 0.3s;
}

.ptn .mlogo:hover {
  background: #b9e6eb;
}

.ptn .mlogo-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.ptn .mlogo-arr {
  font-size: 22px;
  line-height: 1;
  text-align: center;
  color: rgba(0, 0, 0, 0.55);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ptn .mlogo:hover .mlogo-arr {
  transform: translate(3px, -3px);
  color: #e9511c;
}

.ptn .mlogo img,
.ptn .plogo img {
  max-width: 72%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* A tile with no logo: the shared dotted placeholder, labelled with the name. */
.ptn .mlogo .photo-slot {
  border-radius: 10px;
}

.ptn .mlogo--cta .mlogo-body {
  font-family: Montserrat, sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #1d1a55;
}

/* ============================================================
   PRO BONO — sky-blue panel, centred intro, logo tiles
   ============================================================ */
.ptn .pro {
  background: #d0eff2;
  color: #000;
  border-radius: 24px;
  padding: 52px 48px;
  margin-top: 64px;
}

.ptn .pro-head {
  max-width: 660px;
  margin: 0 auto 36px;
  text-align: center;
}

.ptn .pro-head h2 {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.ptn .pro-head h2 i {
  color: #e9511c;
  font-style: italic;
}

.ptn .pro-head p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.62);
  margin: 0;
}

.ptn .pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Two partners: two halves instead of a third column left empty. Above 900px
   only — below it the grid stacks to one column, then turns into a slider. */
@media (min-width: 901px) {
  .ptn .pro-grid.is-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ptn .plogo {
  position: relative;
  border-radius: 15px;
  background: #f8feff;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Same footprint as the prototype's image slot: 78% × 70%, centred. */
.ptn .plogo .photo-slot {
  inset: 15% 11%;
  border-radius: 10px;
}

/* ============================================================
   ÉTABLISSEMENTS — centred intro, one ruled column per city
   ============================================================ */
.ptn .eta {
  margin-top: 64px;
  padding: 64px 2px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.ptn .eta-head {
  max-width: 660px;
  margin: 0 auto 30px;
  text-align: center;
}

.ptn .eta-head h2 {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

/* The italic part sits on its own line (a <br> in the prototype). */
.ptn .eta-head h2 i {
  display: block;
  color: #e9511c;
  font-style: italic;
}

.ptn .eta-head p {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

.ptn .eta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.ptn .eta-col {
  padding: 26px 22px 22px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.ptn .eta-col:last-child {
  border-right: none;
}

.ptn .eta-ct {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.ptn .eta-cc {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e9511c;
  margin-bottom: 16px;
}

.ptn .eta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ptn .eta-li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.ptn .eta-li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #70cbd3;
  flex: none;
  margin-top: 6px;
}

/* ============================================================
   DEVENIR PARTENAIRE — closing box, sky blue or dark
   ============================================================ */
.ptn .cta {
  position: relative;
  overflow: hidden;
  background: #d0eff2;
  border-radius: 24px;
  padding: 90px 54px 70px;
  margin-top: 22px;
  text-align: center;
  color: #000;
}

.ptn .cta.dark {
  background: #0e2e31;
  color: #f8feff;
  padding: 90px 40px 70px;
}

/* The prototype fixes this block at 183px high (an inline style), which sets
   where the buttons sit; a min-height keeps that at every width without
   clipping a longer (or translated) text. */
.ptn .cta-head {
  position: relative;
  z-index: 1;
  max-width: 940px;
  min-height: 183px;
  margin: 0 auto;
}

.ptn .cta-title {
  font-family: Castoro, Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0;
}

.ptn .cta-title i {
  color: #e9511c;
  font-style: italic;
}

.ptn .cta.dark .cta-title i {
  color: #70cbd3;
}

.ptn .cta p {
  font-size: 15px;
  line-height: 1.75;
  margin: 26px auto 0;
  color: rgba(0, 0, 0, 0.6);
  max-width: 520px;
}

.ptn .cta.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.ptn .cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ptn .cta-actions .ui-btn-primary {
  gap: 8px;
}

.ptn .cta-actions .ui-btn-primary.outline {
  background: transparent;
}

/* ============================================================
   Responsive
   ============================================================ */

/* The prototype keeps four territory cards down to 900px, with 9–10px labels;
   at the theme's 14px floor a region pill and the two figures no longer fit a
   quarter of the row, so the 2×2 grid starts at the tablet breakpoint. */
@media (max-width: 1280px) {
  .ptn .terr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ptn .pq-grid {
    grid-template-columns: 1fr;
  }

  .ptn .mec-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .ptn .pro-grid {
    grid-template-columns: 1fr;
  }

  .ptn .vil-head {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .ptn .lev-cards {
    grid-template-columns: 1fr;
  }

  .ptn .lev-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .ptn .lev-tr {
    text-align: left;
  }

  .ptn .lev-card {
    min-height: 0;
  }

  .ptn .lev-name {
    writing-mode: horizontal-tb;
  }
}

@media (max-width: 820px) {
  .ptn .hero {
    padding: 48px 34px;
  }

  .ptn .cta {
    padding: 64px 30px 46px;
  }
}

@media (max-width: 640px) {
  .ptn .mec-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .ptn .terr-grid {
    grid-template-columns: 1fr;
  }

  .ptn .eta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ptn .eta-col:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 600px) {
  /* The prototype's 56px bottom padding is not kept: every other inner page
     keeps 64px above the footer on mobile too. */
  .ptn .hero {
    padding: 40px 24px;
  }

  .ptn .hero-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  .ptn .hero-lede,
  .ptn .cta p {
    font-size: 14px;
  }

  /* Not .lev-tl h2: the prototype pins it at 56px inline, at every width. */
  .ptn .mec-title,
  .ptn .pro-head h2,
  .ptn .vil-head h2,
  .ptn .eta-head h2,
  .ptn .cta-title {
    font-size: 42px;
  }

  .ptn .lev-sub,
  .ptn .lev-aside {
    font-size: 32px;
  }

  .ptn .lev-n,
  .ptn .tq-name {
    font-size: 24px;
  }

  /* The card rows become snapping carousels. */
  .ptn .lev-cards,
  .ptn .terr-grid,
  .ptn .mec-logos,
  .ptn .pro-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .ptn .mec-logos {
    gap: 10px;
  }

  .ptn .lev-cards::-webkit-scrollbar,
  .ptn .terr-grid::-webkit-scrollbar,
  .ptn .mec-logos::-webkit-scrollbar,
  .ptn .pro-grid::-webkit-scrollbar {
    display: none;
  }

  .ptn .lev-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    min-height: 360px;
    gap: 20px;
  }

  /* Every card takes the tallest one's height, so a shorter text pinned to
     the bottom left a hole under the title: it now sits centred in the space
     below the title instead. */
  .ptn .lev-foot {
    margin: auto 0;
  }

  /* 82% (the prototype says 74%) and a tighter figure gap: at the 14px floor
     the region pill and the two figures need that room to stay on one line. */
  .ptn .tq {
    flex: 0 0 82%;
    scroll-snap-align: start;
    padding: 24px 22px;
    min-height: 0;
    gap: 14px;
    justify-content: flex-start;
  }

  .ptn .tq-stats {
    column-gap: 18px;
  }

  .ptn .mlogo {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }

  .ptn .pro {
    padding: 40px 24px;
  }

  .ptn .plogo {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .ptn .eta-grid {
    grid-template-columns: 1fr;
  }

  .ptn .eta-col,
  .ptn .eta-col:nth-child(2n) {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .ptn .eta-col:last-child {
    border-bottom: none;
  }

  .ptn .cta {
    padding: 40px 26px;
  }
}

@media (max-width: 420px) {
  .ptn .mlogo {
    flex: 0 0 74%;
  }
}

/* ==========================================================================
   Big-screen styles — from 1700px up.

   Every fixed px length above is re-expressed in vw so the 1440px-reference
   design scales up proportionally instead of leaving the content marooned in
   whitespace. Conversion: 1px = 0.0694486429vw (100 / 1440). Percentages, fr
   units, ch widths, em letter-spacing and ratio line-heights are left
   untouched.

   The clamp() display headings drop their px ceiling here, restated as the vw
   equivalent of their size at 1440px: the bare preferred vw where that is
   what renders at 1440, the converted cap where the cap already binds there
   (.pq-head h2, .lev-sub, .lev-aside, .tq-name), so every heading keeps the
   1440 proportions. @keyframes offsets stay in px — a media query cannot
   override an individual keyframe step.
   ========================================================================== */

@media (min-width: 1700px) {
  .ptn {
    padding: 1.04173vw 1.04173vw 4.44471vw;
  }

  .ptn .blk {
    padding: 0 0.1389vw;
  }

  .ptn .hero {
    border-radius: 1.66677vw;
    padding: 2.77795vw 2.63905vw 2.63905vw;
    margin-top: 1.38897vw;
  }

  .ptn .hero-eyebrow {
    gap: 0.55559vw;
    border: 0.06945vw solid #e9511c;
    border-radius: 0.90283vw;
    padding: 0.48614vw 1.11118vw;
    font-size: 0.97228vw;
    letter-spacing: 0.09723vw;
    margin-bottom: 1.80566vw;
  }

  .ptn .hero-eyebrow::before {
    width: 0.48614vw;
    height: 0.48614vw;
  }

  .ptn .hero-title {
    font-size: 10.5vw;
  }

  .ptn .hero-body {
    margin-top: 2.77795vw;
  }

  .ptn .hero-lede {
    font-size: 1.04173vw;
    max-width: 50.00302vw;
  }

  .ptn .pq {
    padding-top: 2.63905vw;
  }

  .ptn .pq-head {
    margin-bottom: 1.80566vw;
  }

  .ptn .pq-head h2 {
    font-size: 4.02802vw;
  }

  .ptn .pq-grid {
    gap: 1.04173vw;
  }

  .ptn .pqc {
    border: 0.06945vw solid #70cbd3;
    border-radius: 1.66677vw;
    padding: 2.08346vw 2.08346vw 1.80566vw;
    gap: 1.38897vw;
  }

  .ptn .pqc:hover {
    translate: 0 -0.27779vw;
  }

  .ptn .pqc-m {
    font-size: 3.61133vw;
  }

  .ptn .pqc blockquote {
    font-size: 1.31952vw;
  }

  .ptn .pqc-a {
    gap: 0.20835vw;
    border-top: 0.06945vw solid rgba(0, 0, 0, 0.14);
    padding-top: 1.11118vw;
  }

  .ptn .pqc-n {
    font-size: 0.97228vw;
  }

  .ptn .pqc-r {
    font-size: 0.97228vw;
  }

  .ptn .lev {
    padding-top: 2.91684vw;
  }

  .ptn .lev-top {
    gap: 2.77795vw;
    margin-bottom: 2.08346vw;
  }

  .ptn .lev-tl h2 {
    font-size: 3.88912vw;
  }

  .ptn .lev-sub {
    font-size: 4.02802vw;
  }

  .ptn .lev-tr {
    max-width: 30.5574vw;
  }

  .ptn .lev-aside {
    font-size: 3.19464vw;
    margin: 0 0 0.83338vw;
  }

  .ptn .lev-text {
    font-size: 0.97228vw;
  }

  .ptn .lev-cards {
    gap: 1.11118vw;
  }

  .ptn .lev-card {
    border-radius: 1.11118vw;
    padding: 1.94456vw 1.80566vw;
    min-height: 30.5574vw;
  }

  .ptn .lev-card:hover {
    translate: 0 -0.41669vw;
    box-shadow: 0 1.52787vw 3.19464vw rgba(0, 0, 0, 0.14);
  }

  .ptn .lev-head {
    gap: 0.55559vw;
  }

  .ptn .lev-name {
    font-size: 1.25008vw;
  }

  .ptn .lev-pill {
    font-size: 0.97228vw;
    letter-spacing: 0.06945vw;
    padding: 0.34724vw 0.83338vw;
    border: 0.06945vw solid #000;
    border-radius: 1.04173vw;
  }

  .ptn .lev-n {
    font-size: 2.36125vw;
    margin: 0 0 0.83338vw;
  }

  .ptn .lev-foot p {
    font-size: 0.97228vw;
  }

  .ptn .vil {
    margin-top: 4.44471vw;
    padding: 4.44471vw 0.1389vw 0;
    border-top: 0.06945vw solid rgba(0, 0, 0, 0.12);
  }

  .ptn .vil-head {
    gap: 3.05574vw;
    margin-bottom: 2.08346vw;
  }

  .ptn .vil-head h2 {
    font-size: 3.2vw;
  }

  .ptn .vil-head p {
    font-size: 0.97228vw;
  }

  .ptn .terr-grid {
    gap: 1.11118vw;
  }

  .ptn .tq {
    border-radius: 1.38897vw;
    padding: 2.36125vw 2.22236vw;
    min-height: 14.58422vw;
  }

  .ptn .tq:hover {
    translate: 0 -0.41669vw;
    box-shadow: 0 1.52787vw 3.19464vw rgba(0, 0, 0, 0.14);
  }

  .ptn .tq-region {
    font-size: 0.97228vw;
    border-radius: 1.38897vw;
    padding: 0.41669vw 0.90283vw;
  }

  .ptn .tq-name {
    font-size: 2.91684vw;
    margin-bottom: 0.97228vw;
  }

  .ptn .tq-stats {
    gap: 0.83338vw 1.80566vw;
  }

  .ptn .tq-stat .n {
    font-size: 1.66677vw;
  }

  .ptn .tq-stat .l {
    font-size: 0.97228vw;
    margin-top: 0.27779vw;
  }

  .ptn .mec {
    margin-top: 4.44471vw;
    padding: 4.44471vw 0.1389vw 0;
    border-top: 0.06945vw solid rgba(0, 0, 0, 0.12);
  }

  .ptn .mec-title {
    font-size: 4.6vw;
    margin: 0 0 2.77795vw;
  }

  .ptn .mec-logos {
    gap: 0.55559vw;
  }

  .ptn .mlogo {
    border-radius: 1.04173vw;
    padding: 0.83338vw 0.97228vw;
  }

  .ptn .mlogo-arr {
    font-size: 1.52787vw;
  }

  .ptn .mlogo:hover .mlogo-arr {
    transform: translate(0.20835vw, -0.20835vw);
  }

  .ptn .mlogo .photo-slot {
    border-radius: 0.69449vw;
  }

  .ptn .mlogo--cta .mlogo-body {
    font-size: 2.91684vw;
  }

  .ptn .pro {
    border-radius: 1.66677vw;
    padding: 3.61133vw 3.33353vw;
    margin-top: 4.44471vw;
  }

  .ptn .pro-head {
    max-width: 45.8361vw;
    margin: 0 auto 2.50015vw;
  }

  .ptn .pro-head h2 {
    font-size: 3vw;
    margin: 0 0 0.97228vw;
  }

  .ptn .pro-head p {
    font-size: 0.97228vw;
  }

  .ptn .pro-grid {
    gap: 0.55559vw;
  }

  .ptn .plogo {
    border-radius: 1.04173vw;
  }

  .ptn .plogo .photo-slot {
    border-radius: 0.69449vw;
  }

  .ptn .eta {
    margin-top: 4.44471vw;
    padding: 4.44471vw 0.1389vw 0;
    border-top: 0.06945vw solid rgba(0, 0, 0, 0.12);
  }

  .ptn .eta-head {
    max-width: 45.8361vw;
    margin: 0 auto 2.08346vw;
  }

  .ptn .eta-head h2 {
    font-size: 3.2vw;
    margin: 0 0 0.97228vw;
  }

  .ptn .eta-head p {
    font-size: 0.97228vw;
  }

  .ptn .eta-grid {
    border-top: 0.06945vw solid rgba(0, 0, 0, 0.14);
  }

  .ptn .eta-col {
    padding: 1.80566vw 1.52787vw 1.52787vw;
    border-right: 0.06945vw solid rgba(0, 0, 0, 0.12);
  }

  .ptn .eta-ct {
    font-size: 1.52787vw;
    margin-bottom: 0.27779vw;
  }

  .ptn .eta-cc {
    font-size: 0.97228vw;
    letter-spacing: 0.06945vw;
    margin-bottom: 1.11118vw;
  }

  .ptn .eta-li {
    gap: 0.62504vw;
    padding: 0.62504vw 0;
    border-top: 0.06945vw solid rgba(0, 0, 0, 0.08);
    font-size: 0.97228vw;
  }

  .ptn .eta-li::before {
    width: 0.48614vw;
    height: 0.48614vw;
    border-radius: 0.1389vw;
    margin-top: 0.41669vw;
  }

  .ptn .cta {
    border-radius: 1.66677vw;
    padding: 6.25038vw 3.75023vw 4.86141vw;
    margin-top: 1.52787vw;
  }

  .ptn .cta.dark {
    padding: 6.25038vw 2.77795vw 4.86141vw;
  }

  .ptn .cta-head {
    max-width: 65.28172vw;
    min-height: 12.7091vw;
  }

  .ptn .cta-title {
    font-size: 7.4vw;
  }

  .ptn .cta p {
    font-size: 1.04173vw;
    margin: 1.80566vw auto 0;
    max-width: 36.11329vw;
  }

  .ptn .cta-actions {
    gap: 0.83338vw;
  }

  .ptn .cta-actions .ui-btn-primary {
    gap: 0.55559vw;
  }
}
