/* Homepage: Rankings, Who comes to SRM and Events. Used by both halves of index.html; every class starts with mx- so the laptop poster's styles never touch it. */
:where(.mx) :where(h2, h3, h4, p, ul, ol) { margin: 0; }
:where(.mx) :where(ul, ol) { list-style: none; padding: 0; }
.mx { padding: 104px 0 100px; background: linear-gradient(180deg, #0b0910, #0e0a12 55%, #0b0910); color: #f6efe9; font-family: Geist, Inter, -apple-system, "Segoe UI", Arial, sans-serif; font-weight: 300; font-size: 17px; line-height: 1.55; overflow: hidden; }
.mx a { color: inherit; text-decoration: none; }
.mx a:focus-visible { outline: 2px solid #ffd6a8; outline-offset: 3px; border-radius: 8px; }
.mx-w { width: min(1200px, 100% - 48px); margin: 0 auto; }
.mx-eb { display: flex; align-items: center; gap: 12px; font: 500 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,226,200,.72); }
.mx-eb::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffd6a8; box-shadow: 0 0 12px 2px rgba(255,200,140,.55); }
.mx-h2 { margin-top: 22px; font-weight: 300; font-size: 64px; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.mx-h2 b { font-weight: 500; }
.mx-go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #ffd6a8 !important; font-size: 15px; }
.mx-mono { font: 500 10.5px "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,226,200,.66); }
/* Rankings */
.mx-rk { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; align-items: center; }
.mx-eleven { display: flex; align-items: flex-start; line-height: .8; }
.mx-eleven .n { font-size: 360px; font-weight: 500; letter-spacing: -.07em; line-height: .8; color: transparent; background: url(../img/hpw-hero.jpg) 58% 48% / 260% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(255,214,168,.35); filter: saturate(1.1) brightness(1.45) contrast(1.05); }
.mx-eleven .th { margin-top: 26px; font-size: 64px; font-weight: 400; color: #E4B316; letter-spacing: -.03em; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .mx-eleven .n { color: #f6efe9; background: none; } }
.mx-rk .mx-h2 { font-size: 46px; margin-top: 18px; }
.mx-proof { margin-top: 26px; border-top: 1px solid rgba(255,222,196,.14); }
.mx-proof li { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,222,196,.14); }
.mx-proof b { font-size: 34px; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mx-proof span { color: rgba(246,239,233,.72); font-size: 15.5px; }
.mx-rk .mx-go { margin-top: 14px; }
/* Who comes to SRM */
.mx-who { margin-top: 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mx-who a { display: grid; align-content: space-between; gap: 22px; min-height: 290px; padding: 24px 22px 20px; border-radius: 18px; border: 1px solid rgba(255,240,230,.14); background: linear-gradient(180deg, rgba(255,240,232,.075), rgba(255,240,232,.02)); transition: border-color .25s ease; }
.mx-who a:hover, .mx-who a:focus-visible { border-color: rgba(255,214,168,.5); }
.mx-who .role { font: 500 10.5px "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #ffd6a8; }
.mx-who .nm { margin-top: 12px; font-size: 30px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.mx-who .at { color: rgba(246,239,233,.72); font-size: 15px; }
.mx-who .at i { display: block; margin-top: 8px; font: 500 10.5px "Geist Mono", ui-monospace, monospace; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,239,233,.56); }
/* Events */
.mx-ev { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 50px; }
.mx-evlead { display: block; padding: 30px 30px 26px; border-radius: 20px; border: 1px solid rgba(255,240,230,.16); background: radial-gradient(80% 90% at 0% 0%, rgba(255,170,140,.10), transparent 60%), linear-gradient(180deg, rgba(255,236,226,.08), rgba(255,236,226,.025)); }
.mx-evlead h3 { margin-top: 12px; font-size: 40px; font-weight: 300; letter-spacing: -.04em; line-height: 1.05; }
.mx-evlead p.t { margin-top: 10px; color: rgba(246,239,233,.72); }
.mx-evnums { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid rgba(255,222,196,.14); padding-top: 18px; }
.mx-evnums b { display: block; font-size: 38px; font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.mx-evnums span { display: block; margin-top: 8px; color: rgba(246,239,233,.72); font-size: 14px; }
.mx-evlist { position: relative; padding-left: 26px; }
.mx-evlist::before { content: ""; position: absolute; left: 3px; top: 12px; bottom: 26px; width: 1px; background: linear-gradient(180deg, rgba(255,222,196,.32), rgba(255,222,196,.08)); }
.mx-evlist li { position: relative; padding-bottom: 30px; }
.mx-evlist li::before { content: ""; position: absolute; left: -26px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ffd6a8; opacity: .6; }
.mx-evlist li.next::before { opacity: 1; box-shadow: 0 0 12px 2px rgba(255,200,140,.55); }
.mx-evlist h4 { margin-top: 8px; font-size: 21px; font-weight: 400; letter-spacing: -.015em; line-height: 1.25; }
.mx-evlist p { margin-top: 6px; color: rgba(246,239,233,.72); font-size: 15px; }
@media (max-width: 900px) {
  .mx { padding: 64px 0; }
  .mx-w { width: calc(100% - 32px); }
  .mx-h2 { font-size: 40px; margin-top: 16px; }
  .mx-rk { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mx-eleven .n { font-size: 200px; }
  .mx-eleven .th { font-size: 40px; margin-top: 14px; }
  .mx-rk .mx-h2 { font-size: 34px; }
  .mx-proof li { grid-template-columns: 80px minmax(0, 1fr); }
  .mx-proof b { font-size: 28px; }
  .mx-who { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .mx-who a { min-height: 0; }
  .mx-who .nm { font-size: 26px; }
  .mx-ev { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }
  .mx-evlead { padding: 22px 20px 20px; }
  .mx-evlead h3 { font-size: 30px; }
  .mx-evnums { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .mx-evnums b { font-size: 32px; }
}
@media (min-width: 640px) and (max-width: 900px) { .mx-who { grid-template-columns: 1fr 1fr; } }
/* Events photos */
.mx-evpics { margin-top: 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; height: 360px; }
.mx-evpic { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,240,230,.12); background: #15101a; }
.mx-evpic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.95) brightness(.9); }
.mx-evpic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,16,0) 55%, rgba(11,9,16,.82)); }
.mx-evpic figcaption { position: absolute; left: 16px; right: 14px; bottom: 12px; z-index: 1; font: 500 10.5px "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,240,230,.88); }
@media (max-width: 900px) { .mx-evpics { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 150px; height: auto; gap: 8px; margin-top: 28px; } .mx-evpic:first-child { grid-column: 1 / 3; } }
