:root {
  --owb-platform-blue: #123f73;
  --owb-platform-blue-dark: #0b2d54;
  --owb-platform-blue-soft: #eaf2fb;
  --owb-platform-border: rgba(18, 63, 115, 0.22);
}

/* ==========================================================
   SHARED PLATFORM PAGES
   ========================================================== */

.platform-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 9rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--owb-platform-border);
  border-radius: 1.35rem;
  background: #fff;
  color: var(--owb-platform-blue-dark);
  text-decoration: none;
  box-shadow: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.05);
}

.platform-card:hover {
  background: var(--owb-platform-blue-soft);
}

.platform-card:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.platform-card-number {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.platform-card-title {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 750;
  line-height: 1.2;
}

.platform-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.policy-header {
  max-width: 900px;
}

.policy-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.policy-status {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.policy-status-current {
  background: var(--owb-platform-blue-soft);
  color: var(--owb-platform-blue-dark);
}

.platform-written-policy {
  margin-top: 2rem;
}

.policy-copy {
  max-width: 78ch;
}

.platform-development-notice,
.archive-empty-state {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--owb-platform-border);
  border-radius: 1rem;
  background: var(--owb-platform-blue-soft);
}

.policy-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.policy-archive-intro,
.policy-archive-list {
  max-width: 850px;
  margin-top: 2rem;
}

.read-aloud-panel {
  align-self: start;
}

/* ==========================================================
   PLATFORM HUB — VERSION 10.07.26.16

   VISUAL RULE:
   Match Media / Contact / Welcome / Donate.

   LEFT:
   page title and Vision copy

   RIGHT:
   Star 48

   Vision copy occupies the visual space normally occupied
   by Todd's portrait on the other primary pages.
   ========================================================== */

.platform-hub-v15 {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.platform-hub-v15 .platform-feature-v15 {
  width: min(100%, 46rem);
  margin: 0 auto;
}

.platform-hub-v15 .platform-hero-v15 {
  width: 100%;
  margin: 0;
  text-align: left;
}

.platform-hub-v15 .platform-hero-v15 .eyebrow {
  margin: 0 0 0.8rem;
  text-align: left;
}

.platform-hub-v15 .platform-hero-v15 h1 {
  margin: 0;
  text-align: left;
}

.platform-hub-v15 .platform-hero-v15 .platform-candidate-line {
  margin: 0.25rem 0 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: #17375e;
  text-align: left;
}

.platform-hub-v15 .platform-hero-v15 .policy-meta {
  margin-top: 0.8rem;
  text-align: left;
}

/* Same visual relationship as portrait + Star on Media/Contact. */

.platform-hub-v15 .platform-vision-stage-v15 {
  display: grid;
  grid-template-columns: minmax(0, 25rem) 20rem;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 3rem auto 0;
}

.platform-hub-v15 .platform-vision-copy-v15 {
  width: 100%;
  max-width: 25rem;
  margin: 0 auto;
  text-align: center;
}

.platform-hub-v15 .platform-vision-copy-v15 h2 {
  margin: 0 0 1.5rem;
  text-align: center;
}

.platform-hub-v15 .platform-vision-copy-v15 p,
.platform-hub-v15 .platform-vision-copy-v15 strong {
  text-align: center;
}

.platform-hub-v15 .platform-vision-copy-v15 p {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Same Star scale as the established primary-page identity. */

.platform-hub-v15 .platform-vision-star-v15 {
  width: 20rem;
  max-width: 20rem;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
}

.platform-hub-v15 .platform-vision-star-v15 img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.platform-hub-v15 .platform-return-note-v15 {
  width: min(100%, 42rem);
  margin: 3rem auto 0;
  text-align: center;
}

.platform-hub-v15 .platform-directory-v15 {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 63, 115, 0.25);
}

.platform-hub-v15 .platform-directory-eyebrow-v15,
.platform-hub-v15 #platform-directory-title {
  text-align: center;
}

@media (max-width: 64rem) {
  .platform-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .platform-hub-v15 .platform-feature-v15 {
    width: min(100%, 43rem);
  }

  .platform-hub-v15 .platform-vision-stage-v15 {
    grid-template-columns: minmax(0, 24rem) 18rem;
    gap: 2.5rem;
  }

  .platform-hub-v15 .platform-vision-star-v15 {
    width: 18rem;
    max-width: 18rem;
  }
}

@media (max-width: 42rem) {
  .platform-shell,
  .platform-hub-v15 {
    width: min(100% - 1rem, 1180px);
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-hub-v15 .platform-feature-v15 {
    width: min(100%, 32rem);
  }

  .platform-hub-v15 .platform-hero-v15,
  .platform-hub-v15 .platform-hero-v15 .eyebrow,
  .platform-hub-v15 .platform-hero-v15 h1,
  .platform-hub-v15 .platform-hero-v15 .platform-candidate-line,
  .platform-hub-v15 .platform-hero-v15 .policy-meta {
    text-align: center;
  }

  .platform-hub-v15 .platform-vision-stage-v15 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .platform-hub-v15 .platform-vision-star-v15 {
    grid-row: 1;
    width: min(72vw, 18rem);
    max-width: 18rem;
  }

  .platform-hub-v15 .platform-vision-copy-v15 {
    grid-row: 2;
    width: min(100%, 30rem);
    max-width: 30rem;
  }
}

/* ==========================================================
   PLATFORM HUB — 10.07.26.16 VISUAL CORRECTION

   PURPOSE:
   Stop using a special undersized Platform identity geometry.

   Desktop geometry now follows the established primary-page
   identity used by Welcome / Media / Contact / Donate:

       LEFT  = Vision copy
       RIGHT = Star 48

   The Star deliberately extends beyond its nominal grid column,
   matching the established One World Balance identity.
   ========================================================== */

@media (min-width: 48.001rem) {

  /*
    Match the primary-page content width rather than constraining
    the Platform title to the narrower .15 feature block.
  */

  .platform-hub-v15 .platform-feature-v15 {
    width: min(100%, 50rem);
    margin-left: auto;
    margin-right: auto;
  }

  .platform-hub-v15 .platform-hero-v15 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /*
    Exact desktop relationship used by the established
    One World Balance primary-page identity:
        22rem left
        22rem right
        modest column gap
  */

  .platform-hub-v15 .platform-vision-stage-v15 {
    display: grid;

    width: min(100%, 46rem);

    grid-template-columns:
      minmax(0, 22rem)
      minmax(0, 22rem);

    gap: 0;
    column-gap: clamp(1rem, 2vw, 2rem);

    justify-content: center;
    align-items: center;

    margin:
      3rem
      auto
      0;
  }

  /*
    Vision copy occupies the physical position normally occupied
    by Todd's portrait on the established primary pages.
  */

  .platform-hub-v15 .platform-vision-copy-v15 {
    width: min(100%, 22rem);
    max-width: 22rem;

    margin: 0;

    justify-self: start;
    align-self: center;

    text-align: center;
  }

  .platform-hub-v15 .platform-vision-copy-v15 h2,
  .platform-hub-v15 .platform-vision-copy-v15 p,
  .platform-hub-v15 .platform-vision-copy-v15 strong {
    text-align: center;
  }

  /*
    Use the SAME Star 48 sizing and rightward extension used by
    the established shared main-page identity.

    This is intentionally larger than .15's 20rem Star.
  */

  .platform-hub-v15 .platform-vision-star-v15 {
    width: clamp(18rem, 34vw, 26rem);
    max-width: none;

    margin: 0;
    margin-left: clamp(3rem, 5vw, 4.5rem);

    justify-self: start;
    align-self: center;
  }

  .platform-hub-v15 .platform-vision-star-v15 img {
    display: block;

    width: 100%;
    max-width: none;
    height: auto;

    margin: 0;
  }

  /*
    Keep the return statement aligned with the complete feature.
  */

  .platform-hub-v15 .platform-return-note-v15 {
    width: min(100%, 46rem);

    margin:
      3rem
      auto
      0;

    text-align: center;
  }
}

/*
  Narrow/mobile behavior remains the locked .16 behavior.
  This pass changes desktop geometry only.
*/

/* END PLATFORM HUB 10.07.26.16 VISUAL CORRECTION */
