/* =========================================================
   Award internal pages  extends landing design language
   Reuses brand tokens; no new visual system
   ========================================================= */

/* ===== Site nav (award pages  match landing dropdowns) ===== */
.site-nav .nav-dropdown {
  pointer-events: none;
}

.site-nav .group:hover > .nav-dropdown,
.site-nav .group\/sub:hover > .nav-dropdown {
  pointer-events: auto;
}

/* Hover bridge so menus don't close when moving to dropdown */
.site-nav .group > .nav-dropdown::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.site-nav .group\/sub > .nav-dropdown::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 100%;
  width: 0.5rem;
}

.site-nav [data-nav-dropdown] {
  overflow: visible;
}

.site-nav .nav-dropdown-list {
  overscroll-behavior: contain;
}

/* Flyouts live outside the scrollable list (see nav-flyouts.js) */
.site-nav .nav-flyout {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-nav .nav-flyout.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.site-nav .nav-flyout::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 100%;
  width: 0.5rem;
}

.site-nav .nav-has-sub.is-open > a {
  background-color: rgba(207, 231, 241, 0.5);
  color: #005880;
}

/* Breadcrumb */
.award-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(207, 231, 241, 0.72);
}

.award-breadcrumb a {
  color: inherit;
  transition: color 0.2s ease;
}

.award-breadcrumb a:hover {
  color: #ffdc7e;
}

.award-breadcrumb__sep {
  opacity: 0.45;
}

.award-breadcrumb__current {
  color: #ffdc7e;
}

/* Quick facts strip under award hero */
.award-facts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin-inline: auto;
  justify-items: stretch;
}

@media (min-width: 640px) {
  .award-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.award-fact {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 1rem 1.1rem;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.award-fact:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 220, 126, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.award-fact__value {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffdc7e;
  line-height: 1.2;
}

.award-fact:last-child .award-fact__value {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.award-fact__label {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(207, 231, 241, 0.75);
}

/* Hero layout: title/copy + independent patron portrait (left of title in RTL) */
.award-hero__row {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.25rem;
}

.award-hero__main {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

/*
 * Patron portrait + original ply-gold shape (43deg), fluid sandwich.
 * Photo sits behind the gold so the polygon wraps the torso (see target).
 */
.award-hero-portrait {
  --portrait-size: clamp(9.5rem, 44vw, 13.5rem);
  --gold-rot: 43deg;

  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: var(--portrait-size);
  aspect-ratio: 1;
  margin: 0;
  margin-block-start: clamp(1.75rem, 5vw, 3.75rem);
  overflow: visible;
}

.award-hero-portrait__gold {
  position: absolute;
  left: -22%;
  top: 8%;
  width: 105%;
  height: auto;
  max-width: none;
  display: block;
  transform: rotate(var(--gold-rot));
  transform-origin: 50% 50%;
  pointer-events: none;
  user-select: none;
}

/* Behind the cutout ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â soft depth only */
.award-hero-portrait__gold--back {
  z-index: 1;
  filter: drop-shadow(0 10px 22px rgba(230, 183, 102, 0.3));
}

/*
 * Front gold sits over the photo so the torso tucks behind the polygon.
 * No vertical mask ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â the shape itself clears the head when positioned.
 */
.award-hero-portrait__gold-front {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.award-hero-portrait__gold-front .award-hero-portrait__gold {
  z-index: auto;
  filter: none;
}

.award-hero-portrait__photo-wrap {
  position: absolute;
  left: -43%;
  bottom: 37%;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
  max-height: 260px;
  overflow: hidden;
}

.award-hero-portrait__photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}

@media (min-width: 480px) {
  .award-hero-portrait {
    --portrait-size: clamp(10.5rem, 38vw, 14.5rem);
  }
}

@media (min-width: 768px) {
  .award-hero__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
  }

  .award-hero-portrait {
    --portrait-size: clamp(11rem, 18vw, 15.5rem);
    /* Reserve layout space for the left overhang so hero overflow won't clip it */
    margin-left: calc(var(--portrait-size) * 0.45);
    margin-inline-start: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .award-hero-portrait {
    --portrait-size: clamp(12.5rem, 16vw, 17rem);
  }
}

@media (min-width: 1280px) {
  .award-hero-portrait {
    --portrait-size: clamp(14rem, 14vw, 18.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .award-hero-portrait__gold--back {
    filter: none;
  }
}

/* Criteria table + animated bars */
.criteria-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(164, 180, 186, 0.25);
  background: #fff;
  box-shadow: 0 18px 50px -20px rgba(0, 88, 128, 0.12);
}

.criteria-table thead th {
  background: #005880;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 1rem 1.25rem;
  text-align: right;
}

.criteria-table thead th:last-child {
    text-align: center;
}

.criteria-table tbody td {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(164, 180, 186, 0.2);
  vertical-align: middle;
  font-size: 0.9375rem;
  color: #47525a;
}

.criteria-table tbody td.w-48 {
    max-width: 140px;
}

.criteria-table tbody td.w-48 > .justify-end > .criteria-weight {
    margin-inline: auto;
}

.criteria-table tbody tr:hover td {
  background: rgba(207, 231, 241, 0.25);
}

.criteria-bar {
  position: relative;
  height: 0.55rem;
  width: 100%;
  max-width: 12rem;
  margin-inline-start: auto;
  border-radius: 9999px;
  background: #e8eef1;
  overflow: hidden;
}

.criteria-bar__fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(270deg, #03b9b3, #005880);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.criteria-bar.is-revealed .criteria-bar__fill {
  width: var(--pct, 0%);
}

.criteria-weight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 220, 126, 0.2);
  color: #005880;
  font-size: 0.8125rem;
  font-weight: 900;
}

/* Winners by cycle */
.winners-cycle {
  border-radius: 1.5rem;
  border: 1px solid rgba(164, 180, 186, 0.25);
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(0, 88, 128, 0.15);
  overflow: hidden;
}

.winners-cycle__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(0, 88, 128, 0.06), rgba(3, 185, 179, 0.06));
  border-bottom: 1px solid rgba(164, 180, 186, 0.2);
}

.winners-cycle__title {
  font-size: 1rem;
  font-weight: 900;
  color: #005880;
}

.winners-cycle__note {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3d6a7a;
  line-height: 1.5;
}

.winners-cycle__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(0, 88, 128, 0.1);
  color: #005880;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
}

.winners-cycle__list {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .winners-cycle__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .winners-cycle__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.winner-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(164, 180, 186, 0.22);
  background: #fbfaf7;
  padding: 0.7rem 0.85rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.winner-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 183, 102, 0.45);
  box-shadow: 0 10px 24px -16px rgba(0, 88, 128, 0.25);
}

.winner-chip__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #e6b766, #ffdc7e);
  flex-shrink: 0;
}

.winner-chip__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #034b63;
  line-height: 1.45;
}

.winners-empty {
  padding: 1.25rem;
  text-align: center;
  color: #567781;
  font-weight: 600;
  font-size: 0.9rem;
}

.category-gate {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .category-gate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .category-gate.category-gate--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.category-gate__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(164, 180, 186, 0.25);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 18px 50px -24px rgba(0, 88, 128, 0.18);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.category-gate__card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 183, 102, 0.45);
  box-shadow: 0 22px 50px -18px rgba(0, 88, 128, 0.22);
}

.category-gate__card h3 {
  font-size: 1.125rem;
  font-weight: 900;
  color: #005880;
}

.category-gate__card p {
  margin-top: 0.65rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #567781;
}

.category-gate__link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #005880;
}

.category-gate__card:hover .category-gate__link {
  color: #034b63;
}

.impact-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  text-align: center;
}

/* Value highlight row */
.value-highlight {
  border-radius: 1.75rem;
  border: 1px solid rgba(230, 183, 102, 0.35);
  background: linear-gradient(135deg, rgba(255, 220, 126, 0.22), #fff 55%);
  box-shadow: 0 18px 50px -20px rgba(0, 88, 128, 0.18);
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .value-highlight {
    padding: 2rem 2.25rem;
  }
}

/* ===== Overview stage (creative definition + objectives) ===== */
.overview-stage {
  position: relative;
  scroll-margin-top: 6rem;
  overflow: hidden;
  padding-block: 5rem 6rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(3, 185, 179, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(230, 183, 102, 0.12), transparent 50%),
    linear-gradient(180deg, #fbfaf7 0%, #f0f7fa 48%, #fbfaf7 100%);
}

@media (min-width: 640px) {
  .overview-stage {
    padding-block: 6.5rem 7rem;
  }
}

.overview-stage__glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.55;
}

.overview-stage__glow--a {
  top: -4rem;
  left: -3rem;
  width: 18rem;
  height: 18rem;
  background: rgba(3, 185, 179, 0.18);
}

.overview-stage__glow--b {
  bottom: -5rem;
  right: -2rem;
  width: 22rem;
  height: 22rem;
  background: rgba(230, 183, 102, 0.16);
}

.overview-panel {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .overview-panel {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
  }
}

.overview-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 2rem;
  padding: 2rem 1.75rem;
  background: linear-gradient(160deg, #005880 0%, #034b63 55%, #0a6f93 100%);
  color: #fff;
  box-shadow: 0 24px 60px -28px rgba(0, 88, 128, 0.55);
  overflow: hidden;
  min-height: 16rem;
}

.overview-aside__ply {
  position: absolute;
  opacity: 0.22;
  pointer-events: none;
}

.overview-def {
  position: relative;
  border-radius: 2rem;
  border: 1px solid rgba(164, 180, 186, 0.28);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px -24px rgba(0, 88, 128, 0.2);
  padding: 1.75rem 1.5rem 1.75rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .overview-def {
    padding: 2.25rem 2rem;
  }
}

.overview-def::before {
  content: "";
  position: absolute;
  inset-block: 1.25rem;
  inset-inline-start: 0;
  width: 4px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #e6b766, #03b9b3);
}

.overview-def__quote {
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(230, 183, 102, 0.45);
  font-weight: 900;
}

.objectives-mosaic {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .objectives-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.objective-card {
  position: relative;
  border-radius: 1.35rem;
  border: 1px solid rgba(164, 180, 186, 0.22);
  background: #fff;
  padding: 1.35rem 1.25rem 1.35rem 1.25rem;
  box-shadow: 0 10px 28px -20px rgba(0, 88, 128, 0.2);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.objective-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -20%;
  top: -40%;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(3, 185, 179, 0.1), transparent 70%);
  pointer-events: none;
}

.objective-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 183, 102, 0.45);
  box-shadow: 0 22px 40px -22px rgba(0, 88, 128, 0.28);
}

.objective-card__index {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #005880, #03b9b3);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px -8px rgba(0, 88, 128, 0.45);
}

.objective-card:nth-child(even) .objective-card__index {
  background: linear-gradient(135deg, #d4a843, #ffdc7e);
  color: #005880;
}

/* Criteria stage */
.criteria-stage {
  position: relative;
  scroll-margin-top: 6rem;
  overflow: hidden;
  padding-block: 5rem 6rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0, 88, 128, 0.06), transparent 60%),
    #fbfaf7;
}

@media (min-width: 640px) {
  .criteria-stage {
    padding-block: 6rem 7rem;
  }
}

/* Compact award hero (shorter than landing) */
.award-hero {
  position: relative;
  overflow: hidden;
  background: #005880;
  color: #fff;
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
}

.award-hero h1 {
  font-size: 55px;
}

@media (min-width: 640px) {
  .award-hero {
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
  }
}

/* Subpage slight compression */
.award-page--sub .award-hero {
  padding-bottom: 3.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .criteria-bar__fill {
    transition: none;
  }

  .award-fact:hover,
  .winner-chip:hover,
  .category-gate__card:hover,
  .objective-card:hover {
    transform: none;
  }
}
