:root {
  color-scheme: light;
  --paper: #f8f1e2;
  --sheet: #fffbf0;
  --ink: #103432;
  --quiet: #435853;
  --line: #dacdb4;
  --yellow: #f5d64c;
  --gold-ink: #75500f;
  --ochre: #bc8a2d;
  --focus: #ad4a33;
  --raid-tag: #dceadb;
  --utility-tag: #e5e9e8;
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: Consolas, monospace;
  --ink-soft: color-mix(in srgb, var(--ink) 85%, var(--sheet));
  --gold-soft: color-mix(in srgb, var(--yellow) 35%, var(--paper));
  --paper-deep: color-mix(in srgb, var(--paper) 85%, var(--line));
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1; }
h1, h2 { font-family: var(--display); font-weight: 800; }
h1 { font-size: clamp(3.7rem, 9vw, 7.3rem); letter-spacing: -.028em; }
h2 { font-size: clamp(2.35rem, 5vw, 3.8rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
button, input { font: inherit; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; padding: .55rem 1rem; background: var(--yellow); color: var(--ink); }
.skip:focus { left: 1rem; top: .5rem; z-index: 1; }
.site-head { background: var(--ink); color: var(--paper); }
.site-head .wrap, .site-foot .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.8rem; padding-block: .8rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.wordmark img { width: 2.1rem; height: 2.1rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-weight: 650; font-size: .9rem; }
.site-nav a { padding-block: .25rem; text-decoration: none; }
.site-nav a:hover, .site-nav [aria-current='page'] { text-decoration: underline; text-decoration-color: var(--yellow); }
.site-foot { margin-top: 3rem; background: var(--ink); color: var(--paper); }
.site-foot p { font-size: .9rem; }
.mast { display: grid; grid-template-columns: 1.4fr 1fr; border-bottom: 1px solid var(--ink); min-height: 23rem; }
.mast-copy { align-self: center; padding: 2.8rem 3rem 3.2rem 0; }
.eyebrow, .label { font: 600 .82rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.eyebrow { margin-bottom: 1.1rem; }
.mast-copy .intro { font-size: clamp(1rem, 1.9vw, 1.25rem); max-width: 35rem; margin-top: 1.25rem; }
.mast-art { background-color: var(--ink); margin: 1.1rem 0; position: relative; overflow: hidden; border: 1px solid var(--ink); }
.mast-art svg { display: block; width: 100%; height: 100%; min-height: 16rem; position: absolute; inset: 0; }

.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); border-top: 0; }
.answers article { padding: 1.15rem 1.35rem; }
.answers article + article { border-left: 1px solid var(--ink); }
.answers .label { color: var(--quiet); }
.answers h2 { margin: .35rem 0 .45rem; font: 800 1.2rem/1.25 var(--body); }
.answers p:last-child { font-size: .92rem; }
.section { margin-top: 2.7rem; }
.section h2 + p { margin-top: .65rem; }
.ranking { margin-top: 1.3rem; border-block: 2px solid var(--ink); }
.tier { display: grid; grid-template-columns: minmax(5rem, 9rem) minmax(0, 1fr); }
.tier + .tier { border-top: 1px solid var(--ink); }
.tier-label { padding: .8rem .85rem; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.tier-label strong { font: 800 3.2rem/.9 var(--display); }
.tier:first-child .tier-label { background: var(--yellow); color: var(--ink); }
.tier-body { background: var(--sheet); padding: .75rem 1rem; display: flex; flex-wrap: wrap; align-content: start; gap: .55rem; }
.pick { min-width: min(100%, 14rem); flex: 1 1 14rem; padding: .55rem .65rem; border: 1px solid var(--line); }
.pick a { display: block; font-weight: 750; line-height: 1.35; }
.pick small { display: block; color: var(--quiet); font-size: .86rem; line-height: 1.5; margin-top: .15rem; }
.guide-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.1rem; }
.guide-links a { display: block; padding: .9rem; border: 1px solid var(--ink); background: var(--sheet); font-weight: 750; }
.guide-links a:hover { background: var(--yellow); }
.article-head { padding-block: 2.5rem 1.8rem; border-bottom: 1px solid var(--ink); }
.article-head h1 { font-size: clamp(3.2rem, 7vw, 5.4rem); }
.article-head p:last-child { max-width: 44rem; margin-top: .9rem; font-size: 1.12rem; }
.article-main { max-width: 54rem; }
.article-main section { margin-top: 2rem; }
.article-main h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .7rem; }
.article-main p + p { margin-top: .75rem; }
.article-main li + li { margin-top: .45rem; }
.callout { background: var(--yellow); padding: 1rem 1.1rem; border: 1px solid var(--ink); }
.table-scroll { overflow-x: auto; margin-top: .8rem; }
table { width: 100%; border-collapse: collapse; background: var(--sheet); }
th, td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid var(--line); }
thead { background: var(--ink); color: var(--paper); }
.source-note { color: var(--quiet); font-size: .9rem; margin-top: .9rem; }

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .mast { grid-template-columns: 1fr; }

  .mast-copy { padding: 2.25rem 0 1.25rem; }
  .mast-art { min-height: 13rem; margin: 0 0 .85rem; }
  .mast-art svg { min-height: 0; }
  .answers { grid-template-columns: 1fr; }
  .answers article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .tier { grid-template-columns: 5.8rem minmax(0, 1fr); }
  .tier-label { padding: .72rem .5rem; }
  .tier-label .label { letter-spacing: 0; }
  .tier-body { padding: .55rem; }
  .guide-links { grid-template-columns: 1fr; }
}
[hidden] { display: none !important; }
.jump-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.25rem; padding: .55rem .95rem; background: var(--ink); color: var(--sheet); border-radius: 8px; font-weight: 700; text-decoration: none; }
.jump-link:hover { background: var(--ink-soft); }
.roster-controls { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(9rem, 13rem) auto; gap: 1rem; align-items: end; margin-top: 1rem; }
.roster-controls label { font-weight: 700; font-size: .9rem; }
.roster-controls input, .roster-controls select { display: block; width: 100%; min-height: 44px; margin-top: .25rem; padding: .5rem .65rem; border: 1px solid var(--quiet); border-radius: 8px; background: var(--sheet); color: var(--ink); }
.roster-controls [role='status'] { min-width: 9rem; padding-block: .65rem; color: var(--quiet); font-size: .9rem; }
.pick { border-radius: 8px; }
.pick p { color: var(--quiet); font-size: .9rem; line-height: 1.5; margin-top: .3rem; }
.pick-role { display: inline-block; margin-top: .33rem; padding: .1rem .38rem; background: var(--paper); border-radius: 4px; font: 600 .76rem/1.4 var(--mono); }
.notes { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); gap: 1.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.notes p { max-width: 65ch; }
.notes p + p { margin-top: .65rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 44px; padding: .65rem .25rem; font-weight: 700; cursor: pointer; }
.faq details p { margin: .1rem .25rem .85rem; }
.prose { padding-top: 1.25rem; }
.prose h2 { margin-top: 1.9rem; }
.prose h3 { margin-top: 1.15rem; }
.prose p, .prose li { max-width: 68ch; }
.prose table { margin-block: 1rem; }
.prose a { overflow-wrap: anywhere; }
@media (max-width: 45rem) {
  .mast-copy h1 { font-size: clamp(3.05rem, 11vw, 5.2rem); }
  .mast-art { min-height: 9rem; }
  .mast-art svg { height: 100%; }
  .notes { grid-template-columns: 1fr; gap: .65rem; }
  .roster-controls { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: .65rem; }
  .roster-controls [role='status'] { grid-column: 1 / -1; padding-block: 0; }

  .prose th, .prose td { padding: .45rem .3rem; font-size: .875rem; }
}


/* Illustrated tier list */
body { background: linear-gradient(135deg, var(--sheet), var(--paper) 42%, var(--paper-deep)); }
.wrap { width: min(100% - 3rem, 77rem); }
.site-head { background: var(--ink); box-shadow: 0 1px 0 var(--ink-soft); }
.site-head .wrap { min-height: 3.7rem; }
.site-nav [aria-current='page'] { color: var(--gold-soft); }
.wordmark { font-weight: 800; letter-spacing: -.02em; }

.mast {
  position: relative;
  isolation: isolate;
  min-height: clamp(25rem, 42vw, 32rem);
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  border-bottom: 0;
}
.mast-copy { position: relative; z-index: 2; padding: 2.8rem 0 3.8rem; }
.eyebrow { color: var(--quiet); display: flex; align-items: center; gap: .75rem; }
.eyebrow::after { content: ''; width: 2.8rem; height: 2px; background: var(--ochre); }
.mast-copy h1 { font-size: clamp(3.5rem, 7.05vw, 6.7rem); line-height: .96; }
.mast-copy h1 span { display: block; white-space: nowrap; }
.mast-copy .intro { max-width: 33ch; margin-top: 1rem; font-size: clamp(1rem, 1.55vw, 1.2rem); }
.jump-link { gap: .55rem; border: 1px solid var(--ink-soft); border-radius: 10px; box-shadow: 0 2px 4px color-mix(in srgb, var(--ink) 13%, transparent); }
.jump-link::before { content: ''; width: 1rem; height: 1.13rem; background: var(--yellow); clip-path: polygon(63% 0, 4% 55%, 45% 55%, 32% 100%, 98% 39%, 57% 39%); }

.mast-art { position: absolute; z-index: 0; inset: 0 0 0 36%; margin: 0; border: 0; border-radius: 0 0 18px 18px; background: var(--ink-soft); }
.mast-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mast-art::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 54%, transparent) 14%, transparent 36%), linear-gradient(0deg, color-mix(in srgb, var(--ink) 60%, transparent), transparent 35%); }
.mast-art .mast-bolt { z-index: 1; inset: auto 3.5% auto auto; top: 50%; width: min(56%, 24rem); height: auto; min-height: 0; transform: translateY(-50%); filter: drop-shadow(0 8px 20px color-mix(in srgb, var(--ink) 55%, transparent)); }
.mast-art figcaption { position: absolute; z-index: 2; right: .75rem; bottom: 1.55rem; padding: .3rem .65rem; border-radius: 7px; background: color-mix(in srgb, var(--ink) 88%, transparent); color: var(--sheet); font-size: .75rem; }

.answers { position: relative; z-index: 3; margin-top: -1rem; gap: .75rem; border: 0; }
.answers article, .answers article + article { display: grid; grid-template-columns: minmax(3.1rem, 25%) 1fr; align-items: start; gap: .7rem; padding: .72rem; background: var(--sheet); border: 1px solid color-mix(in srgb, var(--ochre) 48%, var(--line)); border-radius: 12px; box-shadow: 0 3px 12px color-mix(in srgb, var(--gold-ink) 9%, transparent); }
.answers .label { color: var(--gold-ink); font-size: .72rem; }
.answers h2 { margin: .24rem 0 .27rem; font-size: clamp(1rem, 1.45vw, 1.22rem); }
.answers h2 a, .pick a { text-decoration: none; }
.answers h2 a:hover, .pick a:hover { text-decoration: underline; }
.answers p:last-child { font-size: .88rem; line-height: 1.45; color: var(--quiet); }

.thumb, .tier-portrait { isolation: isolate; position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--line); border-radius: 8px; }
.thumb img, .tier-portrait img { position: absolute; width: 800%; height: 600%; max-width: none; left: calc(-100% * var(--tile-x)); top: calc(-100% * var(--tile-y)); }
.thumb-fallback { display: grid; place-items: center; color: var(--yellow); background: var(--ink-soft); }
.thumb-fallback svg { width: 60%; }

#rankings { scroll-margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.section h2 { letter-spacing: -.055em; line-height: 1.04; }
.roster-controls input, .roster-controls select { border-color: color-mix(in srgb, var(--line) 75%, var(--gold-ink)); }
.roster-controls [role='status'] { color: var(--gold-ink); min-width: 5.5rem; text-align: right; font-weight: 700; }
.ranking { display: grid; gap: .78rem; border: 0; }
.tier { grid-template-columns: minmax(5.5rem, 8.5rem) minmax(0, 1fr); }
.tier + .tier { border-top: 0; }
.tier-label, .tier:first-child .tier-label {
  position: relative; isolation: isolate; min-height: 7rem; overflow: hidden;
  align-items: center; justify-content: flex-start; gap: .4rem;
  padding: .9rem .5rem; border-radius: 12px;
  background: linear-gradient(145deg, var(--ink), var(--ink-soft)); color: var(--gold-soft); text-align: center;
}
.tier:first-child .tier-label { background: linear-gradient(135deg, color-mix(in srgb, var(--gold-ink) 73%, var(--ink)), color-mix(in srgb, var(--gold-ink) 64%, var(--ochre))); color: var(--gold-soft); }
.tier-label strong { position: relative; z-index: 1; font: 800 clamp(2.8rem, 6vw, 4.6rem)/.92 var(--display); }
.tier-label .label { position: relative; z-index: 1; font-size: .73rem; line-height: 1.25; text-shadow: 0 1px 3px var(--ink); }
.tier-portrait { position: absolute; z-index: -1; inset: auto -11% 0; border-radius: 0; opacity: .42; mix-blend-mode: luminosity; mask-image: linear-gradient(transparent 2%, black 88%); }
.tier-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: .6rem; padding: 0 0 0 .65rem; background: transparent; }
.pick { display: grid; grid-template-columns: clamp(3.1rem, 5.1vw, 4.5rem) minmax(0, 1fr); align-items: start; gap: .6rem; min-width: 0; padding: .55rem; background: var(--sheet); border-color: var(--line); border-radius: 11px; box-shadow: 0 2px 4px color-mix(in srgb, var(--gold-ink) 6%, transparent); }
.pick-copy { min-width: 0; overflow-wrap: anywhere; }
.pick a { display: inline; font-size: .95rem; line-height: 1.2; font-weight: 800; }
.pick-role { display: table; background: var(--gold-soft); color: var(--gold-ink); margin-top: .28rem; border-radius: 5px; }
.pick[data-role='Raid'] .pick-role { color: var(--ink); background: var(--raid-tag); }
.pick[data-role='Utility'] .pick-role { color: var(--quiet); background: var(--utility-tag); }
.pick p { font-size: .88rem; margin-top: .28rem; line-height: 1.4; }

.notes { gap: 2rem; }
.notes > h2 { max-width: 11ch; }
.method-heading h2 { max-width: 12ch; }
.method-photo { margin: 1rem 0 0; border-radius: 10px; overflow: hidden; background: var(--sheet); border: 1px solid var(--line); }
.method-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16/8; object-fit: cover; }
.method-photo figcaption { padding: .35rem .55rem; color: var(--quiet); font-size: .75rem; }
.faq { display: grid; gap: .5rem; }
.faq details { border: 1px solid var(--line); border-radius: 9px; background: var(--sheet); }
.faq details[open] { background: color-mix(in srgb, var(--sheet) 80%, var(--gold-soft)); }
.faq summary { padding: .58rem .75rem; }
.faq details p { margin: .15rem .75rem .75rem; }

@media (max-width: 65rem) {
  .tier-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 49rem) {
  .wrap { width: calc(100% - 2rem); }
  .mast { grid-template-columns: 1fr; min-height: auto; }
  .mast-copy { padding: 2rem 0 1.3rem; }
  .mast-copy h1 { max-width: 12ch; font-size: clamp(3rem, 8.4vw, 4.4rem); }
  .mast-art { position: relative; inset: auto; margin: 0; min-height: clamp(11rem, 43vw, 19rem); border-radius: 13px; }
  .mast-art::before { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 44%, transparent), transparent 51%); }
  .mast-art .mast-bolt { width: min(42%, 14rem); right: 7%; }
  .mast-art figcaption { bottom: .6rem; }
  .answers { grid-template-columns: 1fr; margin-top: .8rem; }
  .answers article, .answers article + article { grid-template-columns: 4.15rem minmax(0, 1fr); }
  .notes { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .method-photo { max-width: 25rem; }
}
@media (max-width: 36rem) {
  .tier { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .tier-body { padding: 0; grid-template-columns: minmax(0, 1fr); }
  .tier-label, .tier:first-child .tier-label { min-height: 3.4rem; flex-direction: row; gap: .75rem; padding: .42rem .72rem; }
  .tier-label strong { font-size: 2.1rem; }
  .tier-portrait { inset: auto 0 -1rem auto; width: 5.6rem; mask-image: linear-gradient(90deg, transparent 0, black 80%); }
  .pick { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .roster-controls [role='status'] { text-align: left; }
}


.rank-explainer { color: var(--quiet); max-width: 70ch; font-size: .94rem; margin-top: .42rem; }
.pick-name { margin: 0; font-size: .98rem; font-weight: 800; line-height: 1.25; }
.pick-tags { display: flex; flex-wrap: wrap; gap: .25rem; align-items: baseline; margin-top: .27rem; }
.pick-tags .pick-role { margin: 0; }
.pick-rarity { color: var(--quiet); font-size: .76rem; font-weight: 700; }
.pick .pick-decision { color: var(--ink); font-size: .84rem; font-weight: 800; margin-top: .4rem; }
.pick-route { border-top: 1px solid var(--line); margin-top: .42rem; padding-top: .21rem; }
.pick-route summary { color: var(--ink); font-size: .83rem; font-weight: 700; cursor: pointer; min-height: 2rem; padding-top: .25rem; }
.pick-route[open] { padding-bottom: .28rem; }
.pick-route p { margin-top: 0; }
.pick-route a { display: inline-block; margin-top: .36rem; font-size: .8rem; text-decoration: underline; }
.special-label strong { font-family: var(--body); font-size: 1.05rem; line-height: 1.17; }
@media (max-width: 36rem) {
  .special-label strong { font-size: 1rem; }
  .pick-route summary { min-height: 2.4rem; padding-top: .46rem; }
}
