/* ============ full-screen magazine articles ============ */
#article {
  position: fixed; inset: 0; z-index: 42; background: var(--bg);
  opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
#article.open { opacity: 1; pointer-events: auto; }
.art-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
.art-close {
  position: fixed; top: 22px; right: 26px; z-index: 6; width: 46px; height: 46px;
  font-size: 30px; line-height: 1; color: var(--ink); border-radius: 50%;
  background: rgba(4,7,15,.55); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(8px); transition: all .2s;
}
.art-close:hover { transform: rotate(90deg); background: rgba(4,7,15,.85); }

/* ---------- hero ---------- */
.art-hero { position: relative; min-height: 100vh; overflow: hidden; }
.art-hero-img {
  position: absolute; top: 0; right: 0; width: 62%; height: 88vh;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 78%);
}
.art-hero-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08); }
.art-hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(4,7,15,0) 45%, rgba(4,7,15,.72) 100%);
}
.art-hero-attr {
  position: absolute; top: 14px; right: 20px; z-index: 2; font-size: 10px;
  color: rgba(234,244,255,.65); text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.art-hero-attr a { color: rgba(234,244,255,.85); }
.art-issue {
  position: absolute; top: 26px; left: 8vw; font-family: var(--display);
  font-size: 11px; letter-spacing: .34em; color: var(--ink-dim);
}
.art-no {
  position: absolute; top: 9vh; left: 4.5vw; z-index: 0;
  font-family: var(--display); font-weight: 700; font-size: clamp(180px, 30vw, 420px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(63,216,255,.16);
  user-select: none;
}
.art-hero-copy { position: relative; z-index: 2; padding: 24vh 8vw 10vh; max-width: 780px; }
.art-kicker {
  font-family: var(--display); font-size: clamp(11px, 1.1vw, 14px); font-weight: 500;
  letter-spacing: .3em; color: var(--cyan); text-transform: uppercase; margin-bottom: 2.5vh;
}
.art-kicker .k-geo { color: var(--ink-dim); }
.art-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(58px, 9.5vw, 150px); line-height: .92; letter-spacing: -.015em;
  margin: 0 0 4vh -5px; text-wrap: balance;
  filter: drop-shadow(0 6px 40px rgba(4,7,15,.9));
}
.art-title.t-md { font-size: clamp(44px, 6.4vw, 96px); }
.art-title.t-sm { font-size: clamp(34px, 4.6vw, 68px); }
.art-deck {
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; color: #cfdff0;
  max-width: 30em; font-weight: 400;
}
.art-meta-strip {
  margin-top: 5vh; font-family: var(--display); font-size: 11.5px; letter-spacing: .18em;
  color: var(--ink-dim); text-transform: uppercase;
}
.art-meta-strip b { color: var(--coral); font-weight: 500; }
.art-scrollhint {
  position: absolute; bottom: 4vh; left: 8vw; color: var(--cyan); font-size: 22px;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(10px);} }

/* ---------- stoic quote ---------- */
.art-quote {
  position: relative; padding: 16vh 8vw 14vh; max-width: 900px; margin: 0 auto;
}
.art-quote::before {
  content: "“"; position: absolute; top: 4vh; left: calc(8vw - 40px);
  font-family: var(--display); font-size: 220px; line-height: 1; color: rgba(255,122,89,.22);
}
.art-quote blockquote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.35; color: #dcecfb;
}
.art-quote cite {
  display: block; margin-top: 3vh; font-style: normal; font-family: var(--display);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--coral);
}

/* ---------- editorial sections ---------- */
.art-sec {
  display: grid; gap: 6vw; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 9vh 8vw;
}
.art-sec.left  { grid-template-columns: 1.05fr .95fr; }
.art-sec.right { grid-template-columns: .95fr 1.05fr; }
.art-sec.right .art-sec-media { order: 2; }
.art-sec-text { position: relative; max-width: 34em; }
.art-sec-index {
  position: absolute; top: -78px; left: -14px; font-family: var(--display); font-weight: 700;
  font-size: 120px; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,122,89,.28); user-select: none;
}
.art-sec-text h2 {
  position: relative; font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3vw, 42px); margin-bottom: 3vh; letter-spacing: -.01em;
}
.art-sec-text h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 14px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.art-sec-text p { font-size: 15.5px; line-height: 1.85; color: #c2d4e6; }
.art-sec-text p::first-letter { font-family: var(--display); font-weight: 700; font-size: 1.6em; color: var(--cyan); }

.art-sec-media { position: relative; }
.art-sec-media img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; display: block; }
.art-sec-media figcaption {
  margin-top: 10px; font-size: 10px; color: var(--ink-dim); letter-spacing: .08em;
}
.art-sec-media figcaption a { color: var(--ink-dim); text-decoration: underline; }
/* geometric masks */
.mask-slant img   { clip-path: polygon(0 4%, 100% 0, 94% 100%, 4% 96%); }
.mask-circle img  { clip-path: circle(46% at 50% 48%); aspect-ratio: 1/1; }
.mask-hex img     { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); aspect-ratio: 4/4.4; }
.mask-arch img    { border-radius: 999px 999px 18px 18px; aspect-ratio: 4/5; }
.mask-corner img  { clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%); }
/* offset outline decorations */
.art-sec-media::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  transform: translate(-22px, 22px) rotate(-2deg);
  border: 2px solid rgba(255,122,89,.35);
}
.mask-circle::before { border-radius: 50%; transform: translate(26px, -18px); border-color: rgba(63,216,255,.35); }
.mask-hex::before { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); border: none; background: rgba(63,216,255,.08); transform: translate(24px, 20px); }
.mask-arch::before { border-radius: 999px 999px 18px 18px; transform: translate(-20px, -16px) rotate(0deg); border-color: rgba(255,209,102,.4); }
/* floating accent dot */
.art-sec-media::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--coral); bottom: -6px; right: 12%; box-shadow: 0 0 18px rgba(255,122,89,.8);
}

/* ---------- big pull sentence ---------- */
.art-pull {
  position: relative; margin: 10vh 0; padding: 14vh 8vw;
  background: linear-gradient(115deg, rgba(255,122,89,.14) 0%, rgba(63,216,255,.10) 100%);
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}
.art-pull p {
  max-width: 1100px; margin: 0 auto; text-align: center;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 62px); line-height: 1.18; letter-spacing: -.015em;
  background: linear-gradient(92deg, #eaf4ff 15%, var(--cyan) 60%, #7dffc8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- stats band ---------- */
.art-stats {
  max-width: 1280px; margin: 0 auto; padding: 6vh 8vw 4vh;
}
.art-stats-label {
  font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 4vh;
}
.art-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  border-top: 1px solid rgba(122,180,255,.2);
}
.art-stat { padding: 4vh 2vw 4vh 0; border-bottom: 1px solid rgba(122,180,255,.12); }
.art-stat .v {
  font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1; letter-spacing: -.02em;
}
.art-stat .v small { font-size: .38em; font-weight: 500; color: var(--ink-dim); letter-spacing: .1em; }
.art-stat .k {
  margin-top: 10px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim);
}
.art-months { display: flex; gap: 4px; margin-top: 6px; }
.art-months i {
  flex: 1; height: 34px; border-radius: 4px; background: rgba(122,180,255,.1);
  font-style: normal; font-size: 8.5px; color: var(--ink-dim);
  display: grid; place-items: end center; padding-bottom: 3px;
}
.art-months i.on { background: linear-gradient(180deg, rgba(63,216,255,.6), rgba(63,216,255,.15)); color: #dff6ff; }

/* ---------- info grid ---------- */
.art-infogrid {
  max-width: 1280px; margin: 0 auto; padding: 4vh 8vw 8vh;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw;
}
.art-info h3 {
  font-family: var(--display); font-size: 11.5px; font-weight: 500; letter-spacing: .26em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 2vh;
  padding-bottom: 10px; border-bottom: 1px solid rgba(122,180,255,.18);
}
.art-info ul { list-style: none; }
.art-info li { font-size: 13.5px; line-height: 1.7; color: #c2d4e6; margin-bottom: 8px; }
.art-info li.gold { color: var(--gold); }
.art-info p { font-size: 13.5px; line-height: 1.75; color: #c2d4e6; }
.art-info .hz { color: #e8b9a8; }

/* ---------- footer nav ---------- */
.art-foot {
  border-top: 1px solid rgba(122,180,255,.15);
  display: grid; grid-template-columns: 1fr 1fr;
}
.art-nav {
  padding: 7vh 8vw; cursor: pointer; transition: background .25s; text-align: left;
  background: none; border: none;
}
.art-nav:hover { background: rgba(63,216,255,.06); }
.art-nav.next { text-align: right; border-left: 1px solid rgba(122,180,255,.12); }
.art-nav .dir {
  font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-dim); display: block; margin-bottom: 12px;
}
.art-nav .dest {
  font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); color: var(--ink);
}
.art-nav:hover .dest { color: var(--cyan); }
.art-colophon {
  grid-column: 1 / -1; padding: 3vh 8vw 5vh; font-size: 10.5px; line-height: 1.8;
  color: rgba(143,166,191,.6); border-top: 1px solid rgba(122,180,255,.1);
}

@media (max-width: 860px) {
  .art-hero-img { width: 100%; height: 52vh; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 84%); }
  .art-hero-copy { padding-top: 56vh; }
  .art-no { display: none; }
  .art-sec.left, .art-sec.right { grid-template-columns: 1fr; gap: 5vh; }
  .art-sec.right .art-sec-media { order: 0; }
  .art-stats-grid { grid-template-columns: 1fr 1fr; }
  .art-infogrid { grid-template-columns: 1fr; }
}

/* ============ light template: competitions & events ============ */
#article.light { background: #f4f1ea; }
#article.light .art-close {
  color: #131b26; background: rgba(255,255,255,.7); border-color: rgba(19,27,38,.15);
}
#article.light .art-close:hover { background: #fff; }

.evt-hero { position: relative; min-height: 100vh; overflow: hidden; color: #131b26; }
.evt-hero-img {
  position: absolute; top: 6vh; right: -6vw; width: 56vw; height: 72vh;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.evt-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.evt-hero-img::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, rgba(229,80,46,.16) 0%, rgba(11,127,168,.1) 100%);
  mix-blend-mode: multiply; pointer-events: none;
}
.evt-hero-attr { position: absolute; bottom: 3vh; right: 8vw; font-size: 10px; color: rgba(19,27,38,.55); z-index: 3; }
.evt-hero-attr a { color: rgba(19,27,38,.75); }
.evt-issue {
  position: absolute; top: 26px; left: 8vw; font-family: var(--display);
  font-size: 11px; letter-spacing: .34em; color: rgba(19,27,38,.45);
}
.evt-no {
  position: absolute; top: 8vh; right: 5vw; font-family: var(--display); font-weight: 700;
  font-size: clamp(150px, 24vw, 340px); line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(229,80,46,.2); user-select: none; z-index: 0;
}
.evt-hero-copy { position: relative; z-index: 2; padding: 22vh 8vw 10vh; max-width: 720px; }
.evt-tour-badge {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: .26em; text-transform: uppercase; color: #f4f1ea; background: #131b26;
  padding: 9px 16px; margin-bottom: 3.5vh;
}
.evt-kicker {
  font-family: var(--display); font-size: clamp(11px, 1.1vw, 14px); font-weight: 500;
  letter-spacing: .3em; color: #b3541e; text-transform: uppercase; margin-bottom: 2vh;
}
.evt-title {
  font-family: var(--display); font-weight: 700; color: #131b26;
  font-size: clamp(44px, 6.6vw, 104px); line-height: .95; letter-spacing: -.018em;
  margin: 0 0 3.5vh -4px; text-wrap: balance;
}
.evt-deck { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; color: #33414f; max-width: 30em; }
.evt-meta {
  margin-top: 4.5vh; display: flex; flex-wrap: wrap; gap: 10px;
}
.evt-chip {
  font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 16px; border: 1.5px solid #131b26; color: #131b26;
}
.evt-chip.solid { background: #e5502e; border-color: #e5502e; color: #fff; }

#article.light .art-quote::before { color: rgba(229,80,46,.25); }
#article.light .art-quote blockquote { color: #1d2a38; }
#article.light .art-quote cite { color: #b3541e; }

#article.light .art-sec-text h2 { color: #131b26; }
#article.light .art-sec-text h2::after { background: linear-gradient(90deg, #e5502e, transparent); }
#article.light .art-sec-text p { color: #3a4856; }
#article.light .art-sec-text p::first-letter { color: #e5502e; }
#article.light .art-sec-index { -webkit-text-stroke-color: rgba(11,127,168,.3); }
#article.light .art-sec-media::before { border-color: rgba(11,127,168,.45); }
#article.light .mask-circle::before { border-color: rgba(229,80,46,.4); }
#article.light .mask-hex::before { background: rgba(11,127,168,.1); }
#article.light .mask-arch::before { border-color: rgba(19,27,38,.3); }
#article.light .art-sec-media::after { background: #0b7fa8; box-shadow: 0 0 14px rgba(11,127,168,.5); }
#article.light .art-sec-media figcaption { color: rgba(19,27,38,.5); }
#article.light .art-sec-media figcaption a { color: rgba(19,27,38,.6); }

#article.light .art-pull {
  background: #131b26;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}
#article.light .art-pull p {
  background: linear-gradient(92deg, #f4f1ea 20%, #ffb648 60%, #e5502e 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* champions strip on light */
.evt-champs { max-width: 1280px; margin: 0 auto; padding: 8vh 8vw 4vh; }
.evt-champs-label {
  font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: #b3541e; margin-bottom: 4vh;
}
.evt-champ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.evt-champ {
  background: #fff; border: 1.5px solid rgba(19,27,38,.12); padding: 20px 22px;
  position: relative; overflow: hidden;
}
.evt-champ::before {
  content: "★"; position: absolute; top: -14px; right: -6px; font-size: 64px;
  color: rgba(255,182,72,.25); transform: rotate(14deg);
}
.evt-champ .n { font-family: var(--display); font-weight: 700; font-size: 17px; color: #131b26; }
.evt-champ .m { margin-top: 5px; font-size: 11.5px; line-height: 1.5; color: #5b6a79; }

/* facts band on light */
.evt-facts {
  max-width: 1280px; margin: 0 auto; padding: 4vh 8vw 6vh;
}
.evt-facts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  border-top: 1.5px solid #131b26;
}
.evt-fact { padding: 4vh 2vw 4vh 0; border-bottom: 1px solid rgba(19,27,38,.14); }
.evt-fact .v {
  font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05; color: #131b26; letter-spacing: -.015em;
}
.evt-fact .v small { font-size: .4em; color: #8a96a3; letter-spacing: .1em; }
.evt-fact .k { margin-top: 10px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #8a96a3; }
#article.light .art-months i { background: rgba(19,27,38,.07); color: #8a96a3; }
#article.light .art-months i.on { background: linear-gradient(180deg, #e5502e, #f08a5e); color: #fff; }

#article.light .art-foot { border-top-color: rgba(19,27,38,.15); }
#article.light .art-nav .dir { color: #8a96a3; }
#article.light .art-nav .dest { color: #131b26; }
#article.light .art-nav:hover { background: rgba(229,80,46,.06); }
#article.light .art-nav:hover .dest { color: #e5502e; }
#article.light .art-nav.next { border-left-color: rgba(19,27,38,.12); }
#article.light .art-colophon { color: rgba(19,27,38,.45); border-top-color: rgba(19,27,38,.1); }

@media (max-width: 860px) {
  .evt-hero-img { position: relative; top: 0; right: 0; width: 92vw; height: 42vh; margin: 10vh auto 0; }
  .evt-hero-copy { padding-top: 5vh; }
  .evt-no { display: none; }
  .evt-facts-grid { grid-template-columns: 1fr; }
}
