/* ============ Articles: an editorial reading layout ============
   A light masthead with the headline set large and left, a standfirst and byline; then a single
   reading column with chapter openers, hairline rules, wide exhibits and centred pull quotes. */

/* ---- masthead ---- */
.v2 main > .ax-hero { align-items: stretch; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 0 0 1px var(--line); }
.ax-mast { width: min(100% - 2 * clamp(20px, 5vw, 80px), 1180px); margin: 0 auto; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.ax-mast__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.ax-back { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: var(--step-small); font-weight: 500; color: var(--soft); text-decoration: none; transition: color .3s; }
.ax-back:hover { color: var(--ink); }
.ax-series { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.v2 .ax-hero .ax-title { max-width: 15ch; margin: clamp(2.5rem, 6vw, 5rem) 0 0; font-size: clamp(3rem, 8.4vw, 8.5rem); font-weight: 500; line-height: .94; letter-spacing: -.06em; color: var(--ink); animation: ax-rise 1.1s cubic-bezier(.22, 1, .36, 1) both; }
.v2 .ax-hero .ax-title em { font-style: normal; font-weight: 300; color: #2D5BFF; }
@keyframes ax-rise { from { opacity: 0; transform: translateY(24px); } }
.ax-mast__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-top: clamp(2rem, 4vw, 3.5rem); }
.ax-stand { margin: 0; max-width: 40ch; font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 400; line-height: 1.4; letter-spacing: -.015em; color: #3A3A40; }
.ax-byline { display: flex; align-items: center; gap: 1rem; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.ax-byline img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ax-byline__name { margin: 0; font-size: var(--step-body); font-weight: 600; color: var(--ink); }
.ax-byline__role { margin: .2rem 0 0; font-size: 13px; line-height: 1.4; color: var(--soft); }
.ax-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.ax-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.ax-meta dd { margin: .4rem 0 0; font-size: var(--step-small); color: var(--ink); }

/* ---- the reading grid: text in the middle, wide elements break out ---- */
.ax { display: grid; grid-template-columns: [wide-start] minmax(0, 1fr) [main-start] minmax(0, 42rem) [main-end] minmax(0, 1fr) [wide-end]; padding-top: clamp(3.5rem, 7vw, 6rem); }
.ax > * { grid-column: main; min-width: 0; }
.ax > .ax-fig, .ax > .ax-stats, .ax > .ax-cards, .ax > .ax-actors, .ax > .ax-pull, .ax > .ax-position { grid-column: wide; width: min(100%, 1080px); justify-self: center; }
.ax p, .ax li { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.75; color: #2E2E33; }
.ax p + p, .ax p + ul, .ax p + ol, .ax ul + p, .ax ol + p { margin-top: 1.35rem; }
.ax strong { font-weight: 600; color: var(--ink); }
.ax em { font-style: italic; }
.ax h3 { margin: 2.75rem 0 .75rem; font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.ax h4 { margin: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }

/* chapter openers */
.ax-ch { display: flex; align-items: baseline; gap: 1.25rem; margin: clamp(4.5rem, 9vw, 7rem) 0 clamp(1.25rem, 2vw, 1.75rem); padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.ax > .ax-ch:first-child { margin-top: 0; }
.ax-ch__n { font-size: clamp(2.6rem, 5vw, 4.25rem); font-weight: 300; line-height: .9; letter-spacing: -.05em; color: #2D5BFF; font-variant-numeric: tabular-nums; }
.ax .ax-ch__k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.v2 .ax .ax-h2 { margin: 0 0 1.75rem; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; color: var(--ink); }

/* first paragraph of a piece and of a chapter */
.ax-drop::first-letter { float: left; margin: .06em .1em 0 0; font-size: 4.4em; font-weight: 500; line-height: .8; letter-spacing: -.04em; color: #2D5BFF; }
.ax .ax-lead { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.6; color: var(--ink); }

/* pull quotes: centred, set large between rules */
.ax-pull { margin: clamp(3rem, 6vw, 4.5rem) 0; padding: clamp(2rem, 4vw, 3rem) 0; border-block: 1px solid var(--line); text-align: center; }
.ax-pull::before { content: '“'; display: block; height: .55em; font-size: clamp(4rem, 7vw, 6rem); font-weight: 300; line-height: 1; color: #2D5BFF; }
.ax .ax-pull p { max-width: 26ch; margin: 0 auto; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 400; line-height: 1.22; letter-spacing: -.035em; color: var(--ink); }
.ax-pull em { font-style: normal; color: #2D5BFF; }

/* exhibits */
.ax-fig { margin: clamp(3rem, 6vw, 4.5rem) 0; }
.ax-fig a { display: block; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s; }
.ax-fig a:hover { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(13, 15, 23, .35); }
.ax-fig img { display: block; width: 100%; height: auto; }

/* figures in a row, divided by hairlines */
.ax-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(2.5rem, 5vw, 3.5rem) 0; padding: 0; list-style: none; border-block: 1px solid var(--ink); }
.ax .ax-stats li { padding: 1.5rem 1.25rem 1.5rem 0; font-size: var(--step-small); line-height: 1.5; color: var(--soft); }
.ax-stats li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.ax-stats b { display: block; margin-bottom: .75rem; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1; letter-spacing: -.05em; color: var(--ink); }

/* conclusions and actors: ruled columns, not boxes */
.ax-cards, .ax-actors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 3.5rem); margin: 1rem 0 0; padding: 0; list-style: none; }
.ax-cards li, .ax-actors li { padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--ink); }
.ax-cards li > span { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #2D5BFF; }
.ax-cards h4 { margin: .6rem 0 .6rem; font-size: 1.2rem; }
.ax .ax-cards p, .ax .ax-actors p { font-size: var(--step-body); line-height: 1.65; }
.ax .ax-actors__who { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.ax .ax-actors__verb { margin: .4rem 0 .75rem; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; color: #2D5BFF; }

/* numbered steps */
.ax-steps { margin: 2rem 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.ax-steps li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.ax-steps li > span { font-size: 2.4rem; font-weight: 300; line-height: .9; letter-spacing: -.05em; color: #2D5BFF; }
.ax .ax-steps p { margin-top: .45rem; font-size: var(--step-body); line-height: 1.65; }

.ax-list { display: grid; gap: .6rem; margin: 1.1rem 0 0; padding-left: 1.25rem; }
.ax-list li::marker { color: #2D5BFF; font-weight: 600; }

/* the position: one sentence, set on the ink */
.ax-position { margin: clamp(3rem, 6vw, 4.5rem) 0; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: 20px; background: #0B0D14; text-align: center; }
.ax .ax-position__k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ax .ax-position p:not(.ax-position__k) { max-width: 24ch; margin: 1rem auto 0; font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; color: #fff; }
.ax-position em { font-style: normal; color: #8FB0FF; }

/* sources, author */
.ax-sources { margin-top: clamp(4rem, 8vw, 6rem); padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.ax-sources h3 { margin: 0 0 1.25rem; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ax-sources ol { display: grid; gap: .8rem; margin: 0; padding-left: 1.5rem; }
.ax .ax-sources li { font-size: var(--step-small); line-height: 1.6; color: var(--soft); }
.ax .ax-sources__note { margin-top: 1.5rem; font-size: 12px; color: var(--soft); }
.ax-author { display: grid; grid-template-columns: 72px 1fr; gap: 1.25rem; align-items: start; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ax-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ax .ax-author__name { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.ax .ax-author__role { margin: .2rem 0 .8rem; font-size: var(--step-small); font-weight: 500; color: #2D5BFF; }
.ax .ax-author p:last-child { font-size: var(--step-body); line-height: 1.65; color: var(--soft); }

/* ---- smaller screens ---- */
@media (max-width: 899px) {
  .ax-mast__foot { grid-template-columns: 1fr; }
  .ax-byline { padding-left: 0; border-left: 0; }
  .ax-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ax-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .ax-cards, .ax-actors { grid-template-columns: 1fr; }
  .ax-steps li { grid-template-columns: 2.75rem 1fr; }
  .ax-steps li > span { font-size: 1.9rem; }
  .ax-ch { gap: .9rem; }
}

/* sub-headings are h3 for a clean outline, styled as before */
.ax h3.ax-h4 { margin: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.ax-cards h3.ax-h4 { margin: .6rem 0 .6rem; font-size: 1.2rem; }
