.xp {
  --xp-serif: var(--serif, Georgia, serif);
  --xp-space: clamp(3.5rem, 7.2vw, 7rem);
  color: var(--ink);
  padding-bottom: var(--xp-space);
}
.xp h1, .xp h2, .xp h3, .xp p, .xp figure, .xp ul { margin: 0; }
.xp h1, .xp h2, .xp h3 { font-family: var(--xp-serif); font-weight: 400; }
.xp h2 { font-size: clamp(2.2rem, 3.4vw, 3.65rem); line-height: 1.04; letter-spacing: -.045em; }
.xp p { line-height: 1.55; }
.xp a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.xp-crumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem; padding-top: 1.65rem; color: var(--muted); font: .82rem/1.5 var(--sans); }
.xp-crumb > * + *::before { content: "/"; display: inline-block; margin-right: .65rem; color: var(--muted); }
.xp-crumb a, .xp-category a, .xp-jump a, .xp-explore a { color: inherit; text-decoration: none; }
.xp-crumb a:hover, .xp-category a:hover, .xp-jump a:hover, .xp-explore a:hover { text-decoration: underline; text-underline-offset: .25em; }
.xp-index-head { display: grid; grid-template-columns: 1.2fr .9fr; align-items: end; gap: clamp(2rem, 6vw, 7rem); padding: clamp(3.5rem, 8vw, 8rem) 0 2.25rem; }
.xp h1 { font-size: clamp(4.35rem, 8.6vw, 9.6rem); line-height: .96; letter-spacing: -.061em; overflow-wrap: break-word; }
.xp h1 > span { color: var(--accent); }
.xp-index-head > p { font-size: clamp(1.1rem, 1.6vw, 1.5rem); max-width: 37ch; }
.xp-jump { display: flex; flex-wrap: wrap; gap: 1rem 2rem; border-top: 1px solid var(--line); padding: 1.1rem 0 0; font: 1rem/1.5 var(--sans); }
.xp-jump a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em; }
.xp-group { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.8fr); align-items: start; column-gap: clamp(2rem, 5.5vw, 6rem); padding-top: var(--xp-space); scroll-margin-top: 2rem; }
.xp-intro-col p { color: var(--muted); margin-top: 1rem; max-width: 28ch; }
.xp-list, .xp-explore ul { list-style: none; padding: 0; }
.xp-list { border-top: 1px solid var(--ink); }
.xp-list li { border-bottom: 1px solid var(--line); }
.xp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.4rem; align-content: center; align-items: center; min-height: 8.7rem; padding: 1.25rem 0; color: var(--ink); text-decoration: none; }
.xp-row h3 { grid-column: 1; font-size: clamp(1.7rem, 2.65vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.xp-row p { grid-column: 1; margin-top: .5rem; color: var(--muted); line-height: 1.45; max-width: 47ch; }
.xp-index-photo { grid-row: 1 / span 2; grid-column: 2; width: clamp(6rem, 12vw, 11rem); aspect-ratio: 1.75; overflow: hidden; }
.xp-index-photo img, .xp-detail-photo img { height: 100%; width: 100%; display: block; object-fit: cover; }
.xp-row:hover h3, .xp-row:focus-visible h3 { text-decoration: underline; text-underline-offset: .13em; text-decoration-thickness: 1px; }
.xp-detail-head { padding: clamp(3.2rem, 7vw, 6rem) 0 2.5rem; border-bottom: 1px solid var(--ink); }
.xp-category { font: 500 .87rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem !important; }
.xp-category a { color: var(--muted); }
.xp-lead { padding: clamp(2rem, 4vw, 4.5rem) 0 0; }
.xp-illustrated { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: start; gap: clamp(2.5rem, 9vw, 9rem); }
.xp-opening > p { font-family: var(--xp-serif); font-size: clamp(1.7rem, 2.8vw, 3rem); letter-spacing: -.029em; line-height: 1.18; }
.xp-focus { border-left: 2px solid var(--accent); padding-left: 1rem; max-width: 33rem; }
.xp-illustrated .xp-focus { margin-top: 2.4rem; }
.xp-focus p + p { margin-top: .45rem; }
.xp-focus .eyeline { color: var(--muted); font: .79rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.xp-detail-photo { width: 100%; aspect-ratio: 1.65; overflow: hidden; }
.xp-textonly .xp-opening { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .6fr); gap: clamp(2rem, 9vw, 9rem); align-items: start; }
.xp-method { margin-top: var(--xp-space); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: clamp(2rem, 5vw, 6rem); padding-top: 1.8rem; border-top: 1px solid var(--ink); }
.xp-step { padding: 1.85rem 0; border-top: 1px solid var(--line); }
.xp-step:first-child { padding-top: .2rem; border: 0; }
.xp-step h3 { font-size: clamp(1.6rem, 2.3vw, 2.65rem); line-height: 1.15; letter-spacing: -.035em; }
.xp-step p { margin-top: .75rem; max-width: 65ch; }
.xp-explore { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.4rem 4rem; align-items: baseline; justify-content: space-between; }
.xp-explore h2 { font-size: clamp(1.7rem, 2.4vw, 2.6rem); }
.xp-explore ul { display: flex; flex-wrap: wrap; gap: .75rem 1.65rem; }
.xp-explore a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .28em; }
.xp-brief { margin-top: var(--xp-space); padding-top: clamp(2rem, 4vw, 4rem); border-top: 2px solid var(--accent); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem 2rem; }
.xp-brief p { color: var(--muted); grid-column: 1; }
.xp-brief .btn { grid-column: 2; grid-row: 1 / span 2; justify-self: start; }
@media (max-width: 52rem) {
  .xp-detail-head h1 { font-size: clamp(2.7rem, 8.6vw, 5.5rem); }
  .xp-index-head, .xp-group, .xp-method, .xp-textonly .xp-opening { grid-template-columns: 1fr; gap: 1.7rem; }
  .xp-intro-col p, .xp-index-head > p { max-width: 51ch; }
  .xp-row { min-height: 6.5rem; }
  .xp-illustrated { gap: 1.5rem; }
  .xp-index-head { padding-bottom: 1.4rem; }
}
@media (max-width: 37rem) {
  .xp-illustrated, .xp-brief { grid-template-columns: 1fr; }
  .xp-index-head h1 { font-size: clamp(3.5rem, 13vw, 4.5rem); }
  .xp-brief .btn { grid-column: 1; grid-row: auto; margin-top: .6rem; }
  .xp-row { column-gap: .85rem; }
  .xp-row h3 { font-size: clamp(1.3rem, 5.8vw, 1.85rem); }
  .xp-row p { font-size: 1rem; }
  .xp-index-photo { width: clamp(4rem, 18vw, 7rem); aspect-ratio: 1; }
  .xp-illustrated .xp-focus { margin-top: 1.5rem; }
}
