:root {
  --imc-indigo: #24156f;
  --imc-indigo-deep: #150c48;
  --imc-blue: #0799d7;
  --imc-blue-dark: #086da9;
  --imc-gold: #f2cf25;
  --ink: #171a24;
  --muted: #626b7b;
  --line: #e1e5ed;
  --paper: #ffffff;
  --surface: #f6f8fb;
  --surface-blue: #eef7fb;
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(27, 31, 61, .12);
  --shadow-soft: 0 10px 28px rgba(27, 31, 61, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--imc-blue-dark); }
a:hover { color: var(--imc-indigo); }
button, input, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  color: var(--imc-indigo);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { left: 8px; }

.page-width {
  width: min(calc(100% - 48px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--imc-indigo) 0 55%, var(--imc-blue) 55% 84%, var(--imc-gold) 84% 100%);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 350px;
  color: var(--imc-indigo-deep);
  text-decoration: none;
}
.brand-mark,
.footer-mark {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7dce7;
}

/* Header uses the complete IMC logo.  It is scaled proportionally rather than cropped. */
.brand-mark {
  width: 74px;
  height: 91px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.brand-mark img {
  display: block;
  width: 74px;
  height: 91px;
  object-fit: contain;
}
.footer-mark {
  width: 66px;
  height: 44px;
  border-radius: 9px;
}
.footer-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .02em;
}
.brand-copy b { color: var(--imc-gold); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  display: block;
  padding: 10px 10px;
  border-radius: 8px;
  color: #262a34;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a.active {
  background: #f0eef9;
  color: var(--imc-indigo);
}
.nav-toggle { display: none; }

.competition-bar {
  background: var(--imc-indigo-deep);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
}
.competition-bar-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.competition-title {
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.competition-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.competition-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 12px;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.competition-nav a:hover,
.competition-nav a.active {
  color: #fff;
  border-bottom-color: var(--imc-gold);
}

/* Homepage */
.site-main { min-height: 62vh; }
.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--imc-indigo-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('../images/0257.jpg');
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.005);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,10,65,.96) 0%, rgba(23,15,75,.88) 35%, rgba(19,23,67,.53) 62%, rgba(8,20,49,.12) 100%),
    linear-gradient(0deg, rgba(10,9,40,.46) 0%, transparent 42%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 118px;
  padding-bottom: 62px;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}
.hero-badge span { color: var(--imc-gold); }
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -.038em;
}
.hero h1 {
  max-width: 790px;
  font-size: clamp(3.35rem, 6vw, 5.7rem);
  line-height: .98;
  text-wrap: balance;
}
.hero-lead {
  max-width: 730px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 42px;
  padding-top: 20px;
  max-width: 780px;
  border-top: 1px solid rgba(255,255,255,.23);
  color: rgba(255,255,255,.78);
  font-size: .84rem;
}
.hero-facts strong { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--imc-gold);
  color: #17133b;
}
.button-primary:hover { background: #ffde36; color: #17133b; }
.button-light {
  background: rgba(255,255,255,.96);
  color: var(--imc-indigo-deep);
}
.button-light:hover { background: #fff; color: var(--imc-indigo-deep); }
.button-secondary { background: var(--imc-indigo); color: #fff; }
.button-secondary:hover { background: var(--imc-indigo-deep); color: #fff; }

.quick-links {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  min-height: 246px;
  padding: 27px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 4px;
  left: 27px;
  bottom: 0;
  background: var(--imc-blue);
}
.feature-card-current::after { background: var(--imc-gold); }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: #ccd2df;
  box-shadow: var(--shadow);
}
.card-kicker {
  color: var(--imc-blue-dark);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .105em;
}
.feature-card-current .card-kicker { color: #8c7410; }
.feature-card h2 {
  margin: 9px 0 10px;
  color: var(--imc-indigo-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.16;
}
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-link {
  display: inline-block;
  margin-top: 21px;
  color: var(--imc-indigo);
  font-weight: 800;
}

.eyebrow,
.section-label {
  margin: 0 0 11px;
  color: var(--imc-blue-dark);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow-dark { color: var(--imc-indigo); }
.section-label-light { color: #ffe14d; }

.story-section {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 76px;
  align-items: center;
  padding-top: 108px;
  padding-bottom: 108px;
}
.story-copy h2,
.section-heading h2,
.archive-cta h2,
.two-column h2,
.brand-story h2,
.notice-panel h2 {
  margin: 0 0 20px;
  color: var(--imc-indigo-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.028em;
}
.story-copy p { color: var(--muted); font-size: 1.04rem; }
.text-link { color: var(--imc-indigo); font-weight: 850; text-decoration: none; }
.story-image { margin: 0; }
.story-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.numbers-section {
  position: relative;
  padding: 70px 0 76px;
  overflow: hidden;
  background: var(--imc-indigo-deep);
  color: #fff;
}
.numbers-section::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -150px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018);
}
.numbers-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 26px;
}
.numbers-grid div {
  border-left: 2px solid var(--imc-gold);
  padding-left: 22px;
}
.numbers-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.numbers-grid span { display: block; margin-top: 9px; color: rgba(255,255,255,.72); }

.gallery-strip { padding-top: 94px; padding-bottom: 108px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { margin-bottom: 10px; }
.section-intro { max-width: 710px; margin: 0; color: var(--muted); }
.photo-grid {
  display: grid;
  grid-template-columns: 1.35fr .825fr .825fr;
  gap: 15px;
  margin-top: 30px;
}
.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  min-height: 390px;
  background: #eceff4;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .photo-wide img { object-position: center 45%; }

.archive-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--imc-blue-dark), var(--imc-indigo));
  color: #fff;
}
.archive-cta::after {
  content: "∑  π  ∞";
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 11vw, 10rem);
  letter-spacing: .03em;
  white-space: nowrap;
}
.archive-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.archive-cta h2 { color: #fff; margin-bottom: 10px; max-width: 780px; }
.archive-cta p { max-width: 760px; margin: 0; color: rgba(255,255,255,.84); }

/* Interior pages */
.page-hero { padding-top: 78px; padding-bottom: 54px; }
.compact-hero { padding-bottom: 34px; }
.page-hero h1 {
  max-width: 940px;
  color: var(--imc-indigo-deep);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.04;
}
.page-intro {
  max-width: 850px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}
.content-section { padding-top: 18px; padding-bottom: 88px; }
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-column p,
.brand-story p { color: var(--muted); }
.framed-image { margin: 0; }
.framed-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.brand-story {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 108px;
}
.heritage-mark {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.heritage-mark img { width: 100%; max-width: 500px; margin: 0 auto; }
.heritage-mark p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}
.notice-panel {
  margin-top: 8px;
  margin-bottom: 96px;
  padding: 34px 38px;
  border-left: 5px solid var(--imc-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-blue);
}
.notice-panel h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.notice-panel p:last-child { margin-bottom: 0; color: var(--muted); }

.archive-section { padding-bottom: 100px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.year-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease;
}
.year-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.year-card h2 {
  margin: 0 0 14px;
  color: var(--imc-indigo-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}
.year-links { display: flex; flex-direction: column; gap: 8px; }
.year-links a { font-size: .9rem; font-weight: 750; text-decoration: none; }

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-top: 20px;
  padding-bottom: 100px;
}
.document-grid-single { grid-template-columns: minmax(0, 650px); }
.document-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.document-icon {
  width: 72px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #ece9f8;
  color: var(--imc-indigo);
  font-weight: 900;
  font-size: .8rem;
}
.document-card h2 { margin: 0 0 8px; color: var(--imc-indigo-deep); }
.document-card p { margin: 0 0 18px; color: var(--muted); }
.document-card-pending { background: var(--surface); box-shadow: none; }
.document-status {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 7px;
  background: #e7eaf0;
  color: #626a78;
  font-size: .86rem;
  font-weight: 750;
}

/* Legacy annual HTML compatibility */
.legacy-content { padding-top: 52px; padding-bottom: 90px; overflow-x: auto; }
.legacy-content > .page-hero { padding-top: 0; }
.legacy-content h1,
.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  color: var(--imc-indigo-deep);
  font-family: Georgia, "Times New Roman", serif;
}
.legacy-content h1 { font-size: 2.6rem; }
.legacy-content h2 { font-size: 2rem; }
.legacy-content a { color: var(--imc-blue-dark); }
.legacy-content table { max-width: 100%; border-collapse: collapse; }
.legacy-content img { max-width: 100%; height: auto; }
.legacy-content td,
.legacy-content th { padding: 7px; }
.legacy-content .content,
.legacy-content .contentb,
.legacy-content .contentL,
.legacy-content .contentTL,
.legacy-content .contentt,
.legacy-content .contenta,
.legacy-content .contentg {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.legacy-content .contentL { text-align: left; }

td.reshead { background: #eef1f5; text-align: left; }
td.respos, td.resday { background: #fff7d6; text-align: center; font-weight: 700; }
td.resname, td.respts, td.resCrt { background: #fff; }
td.ressum { background: #ffe797; text-align: center; font-weight: 700; }
td.resGGF, td.resGF, td.resFP, td.resSP, td.resThP, td.resHM, td.resDSQ { text-align: center; }
div.solution { border: 1px solid var(--line); margin: 16px 0; padding: 20px; border-radius: 10px; background: #fff; }
img.photo, img.tiny, img.small, img.smallL, img.medium, img.mediumL, img.large, img.largeL, img.huge { height: auto; width: auto; max-width: 160px; border-radius: 5px; }
table.invidresults, table.tresult { width: max-content; max-width: 100%; border-collapse: collapse; margin: 20px auto; }
table.invidresults th, table.invidresults td { border: 1px solid #cfd6e2; padding: 7px 9px; }
table.invidresults th { background: #eef1f5; }

/* Footer */
.site-footer { background: #0d0a31; color: rgba(255,255,255,.74); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-top: 62px;
  padding-bottom: 44px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; color: #fff; }
.footer-mark { width: 58px; height: 58px; border-color: rgba(255,255,255,.18); }
.footer-mark img { width: 88px; top: -11px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand strong { font-family: Georgia, "Times New Roman", serif; }
.footer-brand span { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid a { color: rgba(255,255,255,.76); text-decoration: none; font-size: .91rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .81rem;
  color: rgba(255,255,255,.5);
}

@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .brand { flex: 1; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--imc-indigo);
    font-weight: 800;
  }
  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    content: "";
  }
  .nav-toggle-icon { position: relative; }
  .nav-toggle-icon::before { position: absolute; top: -6px; }
  .nav-toggle-icon::after { position: absolute; top: 6px; }
  .primary-nav { display: none; width: 100%; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding-bottom: 8px; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid .photo-wide { grid-column: 1 / -1; min-height: 440px; }
}

@media (max-width: 760px) {
  .page-width,
  .header-inner,
  .competition-bar-inner { width: min(calc(100% - 28px), var(--max)); }
  .brand { min-width: 0; gap: 11px; }
  .brand-mark { width: 54px; height: 54px; border-radius: 12px; }
  .brand-mark img { width: 81px; top: -10px; }
  .brand-copy strong { font-size: .98rem; }
  .brand-copy span { font-size: .72rem; }
  .competition-bar-inner { display: block; padding-top: 8px; }
  .competition-title { display: block; padding: 6px 0 2px; }
  .competition-nav { margin: 0 -2px; }
  .competition-nav a { min-height: 48px; padding: 0 10px; }
  .hero { min-height: 650px; }
  .hero-media { background-position: 62% center; }
  .hero-overlay {
    background: linear-gradient(0deg, rgba(18,10,65,.97) 0%, rgba(18,10,65,.84) 55%, rgba(18,10,65,.33) 100%);
  }
  .hero-content { padding-top: 145px; padding-bottom: 52px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.55rem); }
  .hero-badge { font-size: .68rem; }
  .hero-facts { gap: 10px 18px; margin-top: 34px; }
  .quick-links { margin-top: -24px; grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .story-section,
  .two-column,
  .brand-story { grid-template-columns: 1fr; gap: 34px; }
  .story-section { padding-top: 80px; padding-bottom: 80px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .gallery-strip { padding-top: 72px; padding-bottom: 82px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid .photo-wide { grid-column: auto; min-height: 330px; }
  .photo-grid figure { min-height: 300px; }
  .archive-cta-inner { display: block; }
  .archive-cta .button { margin-top: 26px; }
  .page-hero { padding-top: 58px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .document-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .primary-nav ul { grid-template-columns: 1fr; }
  .brand-copy span { display: none; }
  .nav-toggle-label { display: none; }
  .hero-facts { display: grid; grid-template-columns: 1fr; }
  .numbers-grid,
  .archive-grid { grid-template-columns: 1fr; }
  .numbers-grid div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 18px 0 0; }
  .document-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* IMC 2027 pre-announcement refinements */
.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 12px;
}
.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}
.brand-mark img {
  width: 90px;
  top: -11px;
}
.footer-mark img {
  width: 64px;
  top: -8px;
}
.header-inner { min-height: 90px; }
.brand { min-width: 310px; gap: 12px; }
.brand-copy strong { font-size: 1.01rem; }
.brand-copy span { margin-top: 3px; font-size: .75rem; }

.competition-nav-unavailable {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 12px;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: default;
  border-bottom: 3px solid transparent;
  opacity: .78;
}

.feature-card-pending {
  background: #f8f9fc;
  box-shadow: none;
  border-color: #e5e8ef;
}
.feature-card-pending::after { background: #c9ced9; }
.feature-card-pending .card-kicker { color: #7b8494; }
.feature-card-pending:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e8ef;
}
.card-status {
  display: inline-flex;
  margin-top: 21px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eceff4;
  color: #687284;
  font-size: .76rem;
  font-weight: 800;
}
.footer-pending {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.55);
  font-size: .88rem;
}

@media (max-width: 760px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark img { width: 61px; top: -8px; }
  .brand { min-width: 0; }
  .competition-nav-unavailable { min-height: 48px; padding: 0 10px; }
}

/* IMC year navigation: clear text dividers between items */
.competition-nav > a,
.competition-nav > .competition-nav-unavailable {
  position: relative;
}
.competition-nav > * + *::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.30);
  transform: translateY(-50%);
  pointer-events: none;
}

@media (max-width: 760px) {
  .competition-nav > * + *::before {
    height: 20px;
    background: rgba(255,255,255,.24);
  }
}

/* IMC 2027 navigation refinement v5: stronger dividers, wider spacing, common bottom alignment */
.competition-nav {
  align-items: stretch;
  gap: 0;
}

.competition-nav > a,
.competition-nav > .competition-nav-unavailable {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 58px;
  padding: 0 20px 15px;
  line-height: 1.15;
  white-space: nowrap;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  border-bottom-color: transparent;
}

/* Real divider lines between every navigation item */
.competition-nav > * + * {
  border-left: 1px solid rgba(255,255,255,.48);
}

/* Disable the older pseudo-divider so there is only one clean line */
.competition-nav > * + *::before {
  content: none !important;
}

.competition-nav > a:hover,
.competition-nav > a.active {
  border-bottom-color: var(--imc-gold);
}

@media (max-width: 900px) {
  .competition-nav > a,
  .competition-nav > .competition-nav-unavailable {
    min-height: 54px;
    padding: 0 16px 13px;
  }
}

@media (max-width: 760px) {
  .competition-nav {
    margin: 0;
  }
  .competition-nav > a,
  .competition-nav > .competition-nav-unavailable {
    min-height: 50px;
    padding: 0 14px 12px;
  }
  .competition-nav > * + * {
    border-left-color: rgba(255,255,255,.38);
  }
}

@media (max-width: 760px) {
  .brand-mark { width: 54px; height: 54px; border-radius: 12px; }
  .brand-mark img { width: 81px; top: -10px; }
  .header-inner { min-height: 84px; }
}


@media (max-width: 720px) {
  .brand-mark { width: 74px; height: 49px; border-radius: 9px; }
  .footer-mark { width: 60px; height: 40px; }
}

/* Full-logo header sizing */
@media (max-width: 760px) {
  .header-inner { min-height: 88px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-mark { width: 52px; height: 64px; }
  .brand-mark img { width: 52px; height: 64px; object-fit: contain; }
}


/* v7 refinement: fuller IMC identity and clearer separation from hero */
.site-header {
  min-height: 126px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-brand {
  gap: 22px;
}

.site-brand .brand-logo,
.site-header .brand-logo,
.site-header img.imc-logo {
  width: 86px !important;
  height: auto !important;
  max-height: 106px !important;
  object-fit: contain !important;
}

.site-brand .brand-title,
.site-header .brand-title,
.site-header .brand-name {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem) !important;
  line-height: 1.12 !important;
}

.site-main,
main {
  padding-top: 18px;
}

.hero,
.home-hero {
  margin-top: 18px !important;
}

.site-footer .brand-logo,
.site-footer img.imc-logo,
.site-footer .footer-logo img {
  width: 86px !important;
  height: auto !important;
  max-height: 106px !important;
  object-fit: contain !important;
}

.site-footer .brand-title,
.site-footer .brand-name {
  font-size: 1.25rem !important;
  line-height: 1.15 !important;
}

@media (max-width: 700px) {
  .site-header {
    min-height: 100px;
  }

  .site-brand {
    gap: 14px;
  }

  .site-brand .brand-logo,
  .site-header .brand-logo,
  .site-header img.imc-logo,
  .site-footer .brand-logo,
  .site-footer img.imc-logo,
  .site-footer .footer-logo img {
    width: 66px !important;
    max-height: 82px !important;
  }

  .site-brand .brand-title,
  .site-header .brand-title,
  .site-header .brand-name {
    font-size: 1.35rem !important;
  }
}


/* v8 footer logo fix: always display the complete full IMC logo */
.site-footer img[src*="imc-logo"],
.site-footer .brand-logo,
.site-footer .footer-logo img,
.site-footer .footer-brand img {
  width: 96px !important;
  height: auto !important;
  max-width: 96px !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  clip-path: none !important;
  transform: none !important;
  border-radius: 0 !important;
}

.site-footer .footer-logo,
.site-footer .footer-brand,
.site-footer .brand,
.site-footer .brand-logo-wrap {
  width: auto !important;
  height: auto !important;
  min-height: 118px !important;
  max-height: none !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}

.site-footer { overflow: visible !important; }

@media (max-width: 700px) {
  .site-footer img[src*="imc-logo"],
  .site-footer .brand-logo,
  .site-footer .footer-logo img,
  .site-footer .footer-brand img {
    width: 74px !important;
    max-width: 74px !important;
  }
  .site-footer .footer-logo,
  .site-footer .footer-brand,
  .site-footer .brand,
  .site-footer .brand-logo-wrap { min-height: 94px !important; }
}

/* v9 definitive footer full-logo fix */
.site-footer .footer-mark {
  display: block !important;
  flex: 0 0 auto !important;
  width: 96px !important;
  height: auto !important;
  min-height: 118px !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.site-footer .footer-mark img {
  display: block !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 96px !important;
  height: auto !important;
  max-width: 96px !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  clip-path: none !important;
  border-radius: 0 !important;
}
.site-footer .footer-brand {
  align-items: center !important;
  gap: 18px !important;
  min-height: 118px !important;
  overflow: visible !important;
}
@media (max-width: 700px) {
  .site-footer .footer-mark {
    width: 74px !important;
    min-height: 91px !important;
  }
  .site-footer .footer-mark img {
    width: 74px !important;
    max-width: 74px !important;
  }
  .site-footer .footer-brand {
    min-height: 91px !important;
  }
}


/* v10 header enlargement: 1.5x larger logo and title */
.site-header {
  min-height: 156px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.site-brand {
  gap: 28px !important;
  align-items: center !important;
}

.site-brand .brand-logo,
.site-header .brand-logo,
.site-header img.imc-logo,
.site-header img[src*="imc-logo"] {
  width: 129px !important;
  height: auto !important;
  max-width: 129px !important;
  max-height: none !important;
  object-fit: contain !important;
}

.site-brand .brand-title,
.site-header .brand-title,
.site-header .brand-name {
  font-size: clamp(2.15rem, 3vw, 3.05rem) !important;
  line-height: 1.08 !important;
  max-width: 760px !important;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 132px !important;
  }

  .site-brand .brand-logo,
  .site-header .brand-logo,
  .site-header img.imc-logo,
  .site-header img[src*="imc-logo"] {
    width: 105px !important;
    max-width: 105px !important;
  }

  .site-brand .brand-title,
  .site-header .brand-title,
  .site-header .brand-name {
    font-size: 2rem !important;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 106px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .site-brand {
    gap: 14px !important;
  }

  .site-brand .brand-logo,
  .site-header .brand-logo,
  .site-header img.imc-logo,
  .site-header img[src*="imc-logo"] {
    width: 78px !important;
    max-width: 78px !important;
  }

  .site-brand .brand-title,
  .site-header .brand-title,
  .site-header .brand-name {
    font-size: 1.55rem !important;
    line-height: 1.1 !important;
  }
}


/* v11: larger and more right-shifted header title */
.site-brand .brand-title,
.site-header .brand-title,
.site-header .brand-name {
  font-size: clamp(2.45rem, 3.35vw, 3.45rem) !important;
  line-height: 1.08 !important;
  margin-left: 18px !important;
  max-width: 820px !important;
}

.site-brand {
  gap: 24px !important;
}

@media (max-width: 900px) {
  .site-brand .brand-title,
  .site-header .brand-title,
  .site-header .brand-name {
    font-size: 2.15rem !important;
    margin-left: 10px !important;
  }
}

@media (max-width: 700px) {
  .site-brand .brand-title,
  .site-header .brand-title,
  .site-header .brand-name {
    font-size: 1.7rem !important;
    margin-left: 0 !important;
  }
}


/* v12: fix header overlap by sizing the actual logo container and title selectors */
.header-inner {
  min-height: 184px !important;
  gap: 28px !important;
}

.brand {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.brand-mark {
  width: 129px !important;
  height: 160px !important;
  min-width: 129px !important;
  flex: 0 0 129px !important;
  overflow: visible !important;
}

.brand-mark img {
  display: block !important;
  position: static !important;
  width: 129px !important;
  height: 160px !important;
  max-width: 129px !important;
  max-height: 160px !important;
  object-fit: contain !important;
  transform: none !important;
}

.brand-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  line-height: 1.1 !important;
}

.brand-copy strong {
  font-size: 1.68rem !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
  white-space: normal !important;
}

.brand-copy span {
  margin-top: 8px !important;
  font-size: 1.12rem !important;
  line-height: 1.2 !important;
}

.primary-nav {
  flex: 0 0 auto !important;
}

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .brand {
    width: 100% !important;
  }

  .primary-nav {
    width: 100% !important;
  }

  .primary-nav ul {
    justify-content: flex-end !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 118px !important;
  }

  .brand {
    gap: 16px !important;
  }

  .brand-mark {
    width: 78px !important;
    height: 97px !important;
    min-width: 78px !important;
    flex-basis: 78px !important;
  }

  .brand-mark img {
    width: 78px !important;
    height: 97px !important;
    max-width: 78px !important;
    max-height: 97px !important;
  }

  .brand-copy strong {
    font-size: 1.28rem !important;
  }

  .brand-copy span {
    font-size: .9rem !important;
    margin-top: 4px !important;
  }
}
