.editorial-module {
  --ink: #f2f1ed;
  --muted-ink: #b0b0b5;
  --rule: #39383e;
  --title-size: clamp(1.65rem, 2.45vw, 2.55rem);
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: inherit;
}
.editorial-module *, .editorial-module *::after { box-sizing: border-box; }
#module-study { scroll-margin-top: clamp(10.8rem, 14vw, 13.2rem); }
html:has(#module-study:target) { scroll-behavior: auto; }
.editorial-module .study-entry { min-width: 0; margin: 0; }
.editorial-module .study-copy { min-width: 0; }
.editorial-module .study-copy h3 {
  margin: 0;
  color: var(--ink);
  font: inherit;
  font-size: var(--title-size);
  line-height: 1.09;
  font-weight: 510;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.editorial-module .study-copy p {
  margin: .62rem 0 0;
  max-width: 39ch;
  color: var(--muted-ink);
  font: inherit;
  font-size: clamp(.93rem, 1.04vw, 1.1rem);
  line-height: 1.52;
  letter-spacing: -.012em;
}
.editorial-module .study-index {
  display: block;
  margin: 0;
  font: 500 .71rem/1.3 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  letter-spacing: .095em;
  color: var(--muted-ink);
  font-variant-numeric: tabular-nums;
}
.editorial-module .study-figure { min-width: 0; }
.editorial-module .study-art { display: block; width: 100%; height: auto; }
.editorial-module figure { margin: 0; }

/* A sequence of three phrases, read like lines of a score. */
.editorial-module--music .study-entry {
  display: grid;
  grid-template-columns: clamp(2.6rem, 4.4vw, 4.75rem) minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  column-gap: clamp(.6rem, 1.5vw, 1.7rem);
  border-top: 1px solid var(--rule);
  padding: clamp(.9rem, 1.4vw, 1.4rem) 0;
}
.editorial-module--music .study-entry:last-child { border-bottom: 1px solid var(--rule); }
.editorial-module--music .study-index { align-self: start; padding-top: .4rem; }
.editorial-module--music .study-art { max-height: 7.75rem; }
.editorial-module--music .study-entry:nth-child(1) .study-index { color: #b5a9fb; }
.editorial-module--music .study-entry:nth-child(2) .study-index { color: #f0ad95; }
.editorial-module--music .study-entry:nth-child(3) .study-index { color: #e3c594; }

/* The wallet silhouettes share an angle, edge thickness and a single accent ink. */
.editorial-module--wallet {
  --ink: #1b292b; --muted-ink: #5d6868; --rule: #c2c9c6;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.editorial-module--wallet .study-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(.75rem, 1.15vw, 1.2rem);
  padding: clamp(1.15rem, 1.95vw, 2.1rem) clamp(1rem, 1.9vw, 2rem) clamp(1.15rem, 1.95vw, 2.1rem) 0;
  border-bottom: 1px solid var(--rule);
}
.editorial-module--wallet .study-entry:nth-child(even) { border-left: 1px solid var(--rule); padding-left: clamp(1.3rem, 2.7vw, 2.9rem); padding-right: 0; }
.editorial-module--wallet .study-index { margin-bottom: .9rem; color: #536c70; }
.editorial-module--wallet .study-art { aspect-ratio: 300/194; object-fit: contain; }
body.wallet-keynote #takeaway:has(.editorial-module) .wallet-k-heading { margin-bottom: clamp(1.4rem, 2.5vw, 2.8rem); }

/* Training in context has the large field; two close-ups describe the design work. */
.editorial-module--fiture {
  --ink: #f2f3f7; --muted-ink: #b5b8c3; --rule: #383c49;
  grid-template-columns: 1.06fr 1fr;
  gap: 0 clamp(1.6rem, 3.4vw, 3.8rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.editorial-module--fiture .study-index { text-transform: uppercase; color: #a8b4ff; margin-bottom: .7rem; }
.editorial-module--fiture .study-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30%;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
  padding: clamp(1.25rem, 2vw, 2.25rem) 0;
}
.editorial-module--fiture .study-entry:first-child {
  grid-column: 1;
  grid-row: 1 / 3;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 1.15rem;
}
.editorial-module--fiture .study-entry:nth-child(2) { border-bottom: 1px solid var(--rule); }
.editorial-module--fiture .study-entry:first-child p { max-width: 54ch; }
.editorial-module--fiture .study-entry:not(:first-child) h3 { font-size: calc(var(--title-size) * .87); }
.editorial-module--fiture .training-context { display: grid; grid-template-columns: minmax(0,1fr) 25%; gap: 3px; aspect-ratio: 2.32; overflow: hidden; background: #090a0f; }
.editorial-module--fiture .training-context > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 47%; }
.editorial-module--fiture .workout-detail { min-height: 0; min-width: 0; background: #151823; padding: .65rem .3rem; }
.editorial-module--fiture .workout-detail img { width: 100%; height: 100%; display: block; object-fit: contain; }
.editorial-module--fiture .training-print { width: 100%; aspect-ratio: 1.49; display: grid; grid-template-rows: minmax(0,1fr) 8%; }
.editorial-module--fiture .study-entry:nth-child(2) .study-art { overflow: visible; }
.editorial-module--fiture .training-print img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 71% 50%; }
.editorial-module--fiture .training-print span { display: block; background: linear-gradient(90deg,#2d35b1 0 33.333%,#8392ee 33.333% 66.667%,#c7bcdf 66.667% 100%); }
html[lang^="zh"] .editorial-module .study-copy h3 { letter-spacing: -.025em; }

@media (prefers-reduced-motion: no-preference) {
  .editorial-module--wallet.arrived .registration-window { animation: frame-arrive .52s cubic-bezier(.2,.65,.35,1) both; }
  @keyframes frame-arrive { from { transform: translate(7px,-3px); } to { transform: translate(11px,-6px); } }
}
@media (max-width: 800px) {
  .editorial-module--fiture { grid-template-columns: 1fr 1fr; }
  .editorial-module--fiture .study-entry:first-child { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr 1.2fr; align-items: center; border-bottom: 1px solid var(--rule); }
  .editorial-module--fiture .study-entry:not(:first-child) { border: 0; grid-template-columns: 1fr; align-content: start; }
  .editorial-module--fiture .study-entry:not(:first-child) .study-figure { max-width: 8.5rem; }
  .editorial-module--wallet .study-entry { grid-template-columns: minmax(0,1fr) 41%; }
}
@media (max-width: 600px) {
  .editorial-module--music .study-entry { grid-template-columns: 2rem minmax(0,1fr); gap: .4rem; padding: 1.2rem 0; }
  .editorial-module--music .study-figure { grid-column: 2; margin-top: .45rem; }
  .editorial-module--music .study-art { max-height: 5.6rem; }
  .editorial-module--wallet { grid-template-columns: 1fr; }
  .editorial-module--wallet .study-entry, .editorial-module--wallet .study-entry:nth-child(even) { border-left: 0; padding: .9rem 0; grid-template-columns: 1fr 41%; }
  .editorial-module--wallet .study-index { margin-bottom: .35rem; }
  .editorial-module--fiture { grid-template-columns: 1fr; }
  .editorial-module--fiture .study-entry:first-child { grid-template-columns: 1fr; }
  .editorial-module--fiture .study-entry:not(:first-child) { grid-template-columns: minmax(0,1fr) 26%; gap: 1rem; align-items: center; }
  .editorial-module--fiture .study-entry:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
