:root {
  --ink: #20160d;
  --cream: #d8c28d;
  --paper: #c9ad72;
  --rust: #8e2417;
  --gold: #f0bd3d;
  --green: #395c31;
  --muted: #705d42;
  --line: rgba(69, 42, 20, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #160f09; font-family: "Roboto Slab", serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.grain { position: fixed; inset: 0; opacity: .13; pointer-events: none; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }

.site-header { height: 82px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; color: inherit; line-height: .9; }
.brand-mark { font-family: Cinzel; font-size: 25px; border: 1px solid var(--ink); width: 39px; height: 39px; display: grid; place-items: center; transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand strong, .brand small { display: block; letter-spacing: .16em; font-family: Cinzel; font-size: 12px; }
.brand small { color: var(--rust); margin-top: 5px; font-size: 9px; }
nav { display: flex; align-self: stretch; gap: clamp(16px, 2vw, 30px); }
nav a { display: grid; place-items: center; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid transparent; }
nav a:hover, nav a.active { color: var(--ink); border-color: var(--rust); }
.icon-button { border: 1px solid var(--line); border-radius: 50%; width: 39px; height: 39px; background: transparent; cursor: pointer; font-size: 17px; }
.sync-button { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: transparent; min-height: 39px; padding: 0 13px; cursor: pointer; text-transform: uppercase; font-size: 9px; letter-spacing: .12em; }
.sync-dot { width: 7px; height: 7px; border-radius: 50%; background: #6e9b67; box-shadow: 0 0 0 3px rgba(110,155,103,.12); }
.sync-button.loading .sync-dot { background: var(--gold); animation: pulse 1s infinite; }
.sync-banner { min-height: 35px; padding: 0 5vw; background: #d8a82f; color: #1a1d18; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; transition: background .25s ease; }
.sync-banner.success { background: #324a36; color: #e8e3d6; }
.sync-banner.error { background: #a93726; color: white; }
.spinner { width: 11px; height: 11px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.sync-banner.success .spinner, .sync-banner.error .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }

main { overflow: hidden; }
.hero { min-height: 665px; display: grid; grid-template-columns: 51% 49%; border-bottom: 1px solid var(--line); }
.hero-copy { padding: 98px 6vw 55px 8vw; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--rust); margin: 0 0 20px; }
.eyebrow span { color: var(--gold); margin: 0 7px; }
h1, h2 { font-family: Cinzel, serif; }
h1 { margin: 0; font-size: clamp(52px, 4.75vw, 76px); text-transform: uppercase; line-height: .88; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--rust); font-weight: inherit; }
.lede { max-width: 540px; font-family: Georgia, serif; font-size: 17px; line-height: 1.75; color: #625e54; margin: 34px 0; }
.hero-actions { display: flex; gap: 13px; }
.button { border: 1px solid var(--ink); min-height: 48px; padding: 0 22px; text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 24px; }
.button.primary { background: var(--ink); color: var(--cream); }
.button.primary:hover { background: var(--rust); border-color: var(--rust); }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: rgba(25,28,23,.06); }
.hero-meta { margin-top: auto; display: flex; gap: 45px; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-meta strong { display: block; color: var(--ink); margin-top: 4px; font-size: 11px; }

.hero-art { position: relative; min-height: 610px; background: #131713; overflow: hidden; isolation: isolate; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,22,17,.1), transparent 30%), linear-gradient(0deg, #101410 0, transparent 40%); z-index: 5; }
.sun { position: absolute; border-radius: 50%; width: 340px; height: 340px; right: 6%; top: 11%; background: #d1a743; box-shadow: 0 0 80px rgba(209,167,67,.2); }
.mountain { position: absolute; width: 120%; height: 70%; left: -10%; bottom: 0; clip-path: polygon(0 100%, 18% 55%, 29% 71%, 48% 18%, 57% 41%, 68% 8%, 100% 69%, 100% 100%); }
.mountain-back { background: #5a5a42; opacity: .56; bottom: 17%; }
.mountain-front { background: #252d23; clip-path: polygon(0 100%, 20% 52%, 34% 77%, 57% 30%, 75% 70%, 87% 44%, 100% 64%, 100% 100%); }
.tower { position: absolute; z-index: 4; width: 48px; height: 105px; background: #11150f; right: 30%; bottom: 33%; box-shadow: 7px 4px 0 rgba(0,0,0,.2); }
.tower::before { content: ""; position: absolute; top: -23px; border-left: 24px solid transparent; border-right: 24px solid transparent; border-bottom: 24px solid #11150f; }
.tower i { width: 4px; height: 11px; background: #d7a93b; display: block; margin: 14px auto; opacity: .7; }
.adventurer { position: absolute; z-index: 7; bottom: 5%; left: 25%; width: 29px; height: 92px; background: #080a08; clip-path: polygon(40% 0, 66% 4%, 72% 17%, 100% 44%, 75% 100%, 43% 81%, 22% 100%, 0 41%, 33% 17%); }
.adventurer::before { content: ""; position: absolute; width: 18px; height: 18px; background: #080a08; border-radius: 50%; left: 6px; top: -10px; }
.adventurer i { position: absolute; width: 90px; height: 4px; background: #070807; transform: rotate(67deg); left: 2px; top: 32px; transform-origin: left; }
.hero-art blockquote { position: absolute; z-index: 7; color: rgba(238,233,220,.72); bottom: 8%; right: 7%; margin: 0; font: italic 13px/1.7 Georgia, serif; text-align: right; }

.score-strip { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; min-height: 136px; border-bottom: 1px solid var(--line); }
.score-strip > div { padding: 32px 3vw; border-right: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.score-strip p { margin: 0; font: 700 12px Cinzel; text-transform: uppercase; }
.score-strip p small { display: block; color: var(--muted); font: 700 8px "DM Sans"; letter-spacing: .12em; margin-top: 5px; }
.score-strip strong { font: 700 28px Cinzel; }
.metric-icon { width: 35px; height: 35px; border: 1px solid currentColor; transform: rotate(45deg); display: grid; place-items: center; }
.metric-icon.gold { color: #a77d22; }.metric-icon.red { color: var(--rust); }.metric-icon.blue { color: #557680; }
.out-of { font-size: 11px !important; color: var(--muted); }
.score-strip .index-score { display: grid; grid-template-columns: 1fr auto auto; background: var(--ink); color: var(--cream); border: 0; }
.index-score p { color: var(--gold); }
.index-score strong { color: var(--gold); font-size: 42px; }
.index-score > span { color: #8a8e84; align-self: end; margin-bottom: 9px; }
.info { border: 1px solid #60635c; color: #a3a49e; background: none; width: 17px; height: 17px; border-radius: 50%; font-size: 9px; cursor: help; }
.mini-bar { height: 2px; background: #454941; grid-column: 1 / -1; }
.mini-bar i { display: block; height: 100%; width: 46%; background: var(--gold); transition: width .4s ease; }

.content-section { padding: 100px 8vw; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 44px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(35px, 4vw, 57px); text-transform: uppercase; letter-spacing: -.045em; line-height: .95; margin: 0; }
.text-button { color: var(--rust); background: none; border: 0; border-bottom: 1px solid currentColor; padding: 7px 0; text-transform: uppercase; font-weight: 800; font-size: 10px; letter-spacing: .12em; cursor: pointer; }
.section-note { color: #a5a79e; font: italic 14px Georgia, serif; max-width: 270px; }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.skill-card { padding: 28px; border-right: 1px solid var(--line); position: relative; }
.skill-card:last-child { border: 0; }
.skill-top { display: flex; justify-content: space-between; align-items: center; }
.skill-icon { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; background: var(--ink); color: var(--gold); }
.skill-card h3 { font: 700 13px Cinzel; text-transform: uppercase; margin: 23px 0 8px; }
.skill-card strong { font: 700 35px Cinzel; }
.skill-card strong small { color: var(--muted); font: 500 11px "DM Sans"; }
.progress-track { height: 4px; background: #cbc5b7; margin-top: 23px; }
.progress-track i { display: block; height: 100%; background: var(--rust); }
.skill-card p { font-size: 9px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.skills-summary { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 20px; }
.skills-summary > div { padding: 22px 25px; border-right: 1px solid var(--line); }
.skills-summary > div:last-child { border-right: 0; }
.skills-summary span { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 7px; }
.skills-summary strong { font: 700 18px Cinzel; text-transform: uppercase; }
.all-skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.skill-row { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 17px 19px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.skill-row .skill-icon { width: 35px; height: 35px; font-size: 16px; }
.skill-row h3 { margin: 0 0 3px; font: 700 11px Cinzel; text-transform: uppercase; }
.skill-row p { margin: 0; color: var(--muted); font-size: 8px; }
.skill-row > strong { font: 700 25px Cinzel; }
.skill-xp-bar { position: absolute; height: 2px; bottom: 0; left: 0; right: 0; background: transparent; }
.skill-xp-bar i { display: block; height: 100%; background: var(--rust); }

.parchment-section { background: var(--paper); }
.segmented { display: flex; border: 1px solid var(--line); }
.segmented button { border: 0; border-right: 1px solid var(--line); background: transparent; padding: 11px 14px; cursor: pointer; text-transform: uppercase; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.segmented button:last-child { border: 0; }
.segmented button.active { background: var(--ink); color: var(--cream); }
.feature-progress { border: 1px solid var(--line); padding: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-bottom: 18px; }
.feature-progress > div:first-child strong { display: block; font: 700 34px Cinzel; color: var(--rust); }
.feature-progress > div:first-child span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.large-progress { height: 6px; background: #c7c0b1; }
.large-progress i { display: block; height: 100%; background: var(--rust); }
.quest-totals { display: flex; gap: 20px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.quest-totals b { color: var(--ink); }
.quest-list { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); max-height: 590px; overflow: auto; }
.quest-item { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; min-height: 69px; padding: 14px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quest-state { width: 27px; height: 27px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.quest-item.finished .quest-state { color: var(--green); border-color: var(--green); }
.quest-item.in_progress .quest-state { color: var(--gold); border-color: var(--gold); }
.quest-item h3 { margin: 0 0 4px; font: 700 11px Cinzel; text-transform: uppercase; }
.quest-item p { margin: 0; font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.quest-badge { font-size: 7px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.achievement-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 45px; }
.subheading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.subheading h3 { margin: 0; font: 700 13px Cinzel; text-transform: uppercase; }
.subheading span { color: #7f8379; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.diary-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid #3a3d36; border-top: 1px solid #3a3d36; }
.diary-card { padding: 18px; border-right: 1px solid #3a3d36; border-bottom: 1px solid #3a3d36; }
.diary-card > div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.diary-card h3, .combat-row h3 { margin: 0; font: 700 10px Cinzel; text-transform: uppercase; }
.diary-card span { color: var(--gold); font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.diary-card strong { display: block; margin-top: 12px; font: 700 20px Cinzel; }
.diary-card small, .combat-row small { color: #74786f; font-size: 9px; }
.dark-section .progress-track { background: #3c4038; margin-top: 10px; }
.dark-section .progress-track i { background: var(--gold); }
.combat-list { border-top: 1px solid #3a3d36; }
.combat-row { min-height: 73px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; border-bottom: 1px solid #3a3d36; }
.combat-row > div:nth-child(2) { min-width: 0; }
.combat-row > strong { font: 700 16px Cinzel; }
.tier-medallion { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid #5b5f56; color: var(--gold); font: 700 11px Cinzel; transform: rotate(45deg); }
.tier-medallion::first-letter { transform: rotate(-45deg); }

.boss-tools { display: flex; align-items: center; gap: 13px; }
.boss-tools input { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 9px 4px; min-width: 190px; outline: none; }
.boss-tools span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.live-boss-grid { grid-template-columns: repeat(4, 1fr); }
.live-boss-grid .boss-card { background: var(--ink); color: var(--cream); min-height: 225px; }
.boss-order { position: absolute; right: 18px; top: 19px; color: #555a51; font: 700 11px Cinzel; }
.live-boss-grid .boss-card h3 { margin-top: 33px; font-size: 16px; }
.show-bosses { grid-column: 1 / -1; justify-self: center; margin-top: 24px; min-width: 210px; }

.collection-section { background: #d8d0bd; }
.collection-hero { background: var(--ink); color: var(--cream); padding: 40px 5vw; display: flex; align-items: center; gap: 42px; margin-bottom: 20px; }
.collection-hero > div:last-child p:last-child { color: #878b81; font: italic 13px Georgia, serif; }
.collection-ring { --collection-progress: 0deg; width: 150px; height: 150px; flex: 0 0 auto; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, var(--ink) 63%, transparent 65%), conic-gradient(var(--gold) var(--collection-progress), #40443c 0); }
.collection-ring strong { font: 700 36px Cinzel; color: var(--gold); }
.collection-ring span { font-size: 8px; color: #898d83; text-transform: uppercase; letter-spacing: .08em; }
.collection-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.collection-tabs article { padding: 24px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.collection-tabs article > div:first-child { display: flex; justify-content: space-between; }
.collection-tabs h3 { margin: 0; font: 700 11px Cinzel; text-transform: uppercase; }
.collection-tabs span { font-size: 8px; color: var(--rust); }
.collection-tabs strong { display: block; margin-top: 18px; font: 700 23px Cinzel; }
.collection-tabs small { color: var(--muted); font-size: 9px; }
.collection-tabs .progress-track { margin-top: 14px; }

.dark-section { background: #171a16; color: var(--cream); }
.boss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.boss-card { border: 1px solid #3a3d36; min-height: 260px; padding: 29px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.boss-card::after { content: attr(data-mark); position: absolute; right: -10px; bottom: -40px; font: 800 150px Cinzel; color: rgba(255,255,255,.025); }
.boss-card .status { align-self: flex-start; font-size: 8px; letter-spacing: .15em; padding: 6px 9px; color: var(--gold); border: 1px solid #665a37; }
.boss-card h3 { font: 700 20px Cinzel; text-transform: uppercase; margin: 42px 0 4px; }
.boss-card > p { margin: 0; color: #82867c; font: italic 12px Georgia, serif; }
.boss-stats { display: flex; margin-top: auto; gap: 40px; }
.boss-stats strong { display: block; font: 700 24px Cinzel; }
.boss-stats span { color: #74786f; font-size: 8px; letter-spacing: .12em; }

.roadmap-section { background: var(--paper); }
.roadmap { max-width: 1000px; margin: auto; }
.goal { display: grid; grid-template-columns: 80px 1fr auto; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); align-items: center; }
.goal-number { font: 700 12px Cinzel; color: var(--rust); }
.goal h3 { margin: 0 0 6px; font: 700 15px Cinzel; text-transform: uppercase; }
.goal p { margin: 0; color: var(--muted); font-size: 12px; }
.goal-badge { font-size: 8px; letter-spacing: .13em; font-weight: 800; padding: 8px 10px; border: 1px solid var(--line); text-transform: uppercase; }
.goal.completed h3 { text-decoration: line-through; color: var(--muted); }
.goal.completed .goal-badge { color: var(--green); border-color: var(--green); }
.goal.current .goal-badge { color: var(--rust); border-color: var(--rust); }
.goal { cursor: pointer; }

.manifesto { padding: 110px 8vw; text-align: center; background: #d8d0bd; }
.manifesto h2 { font-size: clamp(45px, 6vw, 80px); }
.manifesto > p:not(.eyebrow) { font: italic 15px/1.7 Georgia, serif; color: #6f6a5e; max-width: 570px; margin: 28px auto; }
footer { min-height: 90px; background: var(--ink); color: #777c72; display: flex; padding: 0 7vw; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
footer span { font-family: Cinzel; color: var(--cream); } footer a { color: var(--gold); text-decoration: none; }

dialog { border: 0; padding: 0; width: min(540px, calc(100% - 30px)); color: var(--ink); background: var(--cream); box-shadow: 0 20px 80px #0008; }
dialog::backdrop { background: rgba(8,10,8,.75); backdrop-filter: blur(3px); }
dialog form { padding: 42px; position: relative; }
dialog h2 { font-size: 35px; margin-bottom: 26px; }
.dialog-close { position: absolute; right: 18px; top: 15px; border: 0; background: none; font-size: 25px; cursor: pointer; }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: 9px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: #f5f0e5; padding: 12px 13px; color: var(--ink); }
.field textarea { min-height: 90px; resize: vertical; }
dialog menu { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 0 0; margin: 0; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 600px; padding: 80px 8vw 45px; }
  .hero-art { min-height: 500px; }
  .score-strip { grid-template-columns: 1fr 1fr; }
  .score-strip > div:nth-child(2) { border-right: 0; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .skill-card:nth-child(2) { border-right: 0; }
  .skill-card { border-bottom: 1px solid var(--line); }
  .boss-grid { grid-template-columns: 1fr; }
  .all-skills-grid { grid-template-columns: repeat(2, 1fr); }
  .achievement-layout { grid-template-columns: 1fr; }
  .live-boss-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .site-header { height: 70px; }
  .hero-copy { min-height: 570px; padding-top: 60px; }
  h1 { font-size: 53px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 25px; }
  .score-strip { grid-template-columns: 1fr; }
  .score-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .content-section { padding: 75px 6vw; }
  .section-heading { align-items: flex-start; gap: 25px; }
  .section-note { display: none; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-card { border-right: 0; }
  .goal { grid-template-columns: 35px 1fr; gap: 12px; }
  .goal-badge { grid-column: 2; justify-self: start; }
  footer p { display: none; }
  dialog form { padding: 34px 25px 25px; }
  .sync-button b { display: none; }
  .hero-meta { flex-wrap: wrap; }
  .skills-summary { grid-template-columns: 1fr 1fr; }
  .skills-summary > div { border-bottom: 1px solid var(--line); }
  .all-skills-grid, .quest-list, .diary-grid, .live-boss-grid, .collection-tabs { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; }
  .segmented { width: 100%; overflow-x: auto; }
  .segmented button { flex: 1; }
  .feature-progress { grid-template-columns: 1fr; }
  .quest-totals { flex-wrap: wrap; }
  .collection-hero { flex-direction: column; text-align: center; }
  .boss-tools { width: 100%; justify-content: space-between; }
  .boss-tools input { min-width: 0; width: 60%; }
}

/* Old School skin and PvM progression hub */
h1, h2, h3, .brand strong, .brand small, .score-strip strong, .score-strip p,
.skills-summary strong, .skill-row > strong, .goal-number, .collection-ring strong,
.collection-tabs strong, .boss-stats strong, .route-step strong, .readiness-grid strong {
  font-family: "MedievalSharp", Georgia, serif !important;
}

body {
  background-color: #160f09;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(119, 78, 29, .13), transparent 28%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, .035) 4px);
}

.site-header {
  height: 78px;
  color: #f1cf72;
  background:
    linear-gradient(rgba(35, 20, 10, .94), rgba(24, 13, 7, .97)),
    repeating-linear-gradient(90deg, #4a2c15 0, #4a2c15 70px, #3a2110 71px, #3a2110 73px);
  border-bottom: 4px ridge #88602c;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .55);
}
.brand-mark { border: 2px ridge #d6a638; color: var(--gold); background: #24170d; box-shadow: inset 0 0 10px #000; }
.brand small { color: #d49345; }
nav a { color: #a9946d; text-shadow: 1px 1px #000; }
nav a:hover, nav a.active { color: #ffe79a; border-color: #e5aa28; }
.sync-button { color: #f4d47f; border: 2px ridge #795829; background: #26190e; box-shadow: inset 0 0 8px #000; }
.sync-banner { background: linear-gradient(#9a6a18, #6f4510); color: #fff0a6; border-bottom: 2px ridge #c79735; text-shadow: 1px 1px #2b1605; }
.sync-banner.success { background: linear-gradient(#355a2d, #223b1e); }

.hero { border-bottom: 5px ridge #6f4c24; background: var(--cream); }
.hero-copy, .content-section, .manifesto {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 244, 199, .55), transparent 35%),
    repeating-linear-gradient(8deg, transparent, transparent 6px, rgba(67, 42, 16, .025) 7px);
}
.eyebrow { color: #8e2818; text-shadow: 0 1px rgba(255,255,255,.3); }
h1 { text-shadow: 1px 2px 0 rgba(255, 238, 183, .7); }
h1 em, h2 em { color: #8c2517; }
.lede { color: #5f472c; font-family: "Roboto Slab", Georgia, serif; }
.button { border: 3px ridge #8f6a32; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 2px 3px 0 rgba(43,25,11,.28); font-family: "Roboto Slab", serif; }
.button.primary { background: linear-gradient(#4b341e, #25180e); color: #f6dc8d; border-color: #a27b3d; text-shadow: 1px 1px #000; }
.button.primary:hover { background: linear-gradient(#72501f, #3e280f); border-color: #e3b548; }
.button.ghost { background: #b99d66; color: #33210f; }

.pvm-hero {
  min-height: 610px;
  padding: 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(circle at 50% 35%, rgba(111, 88, 53, .25), transparent 27%),
    repeating-linear-gradient(0deg, transparent, transparent 61px, rgba(0,0,0,.2) 62px, rgba(0,0,0,.2) 64px),
    repeating-linear-gradient(90deg, #3b3a32 0, #36362f 90px, #2c2d28 91px, #2c2d28 94px);
  border-left: 6px ridge #80663d;
  box-shadow: inset 0 0 60px #080806;
}
.pvm-hero::after { background: radial-gradient(circle, transparent 35%, rgba(0,0,0,.52)); }
.stone-rivets i { position: absolute; z-index: 8; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ad9e72, #302c22 70%); box-shadow: 0 2px 3px #000; }
.stone-rivets i:nth-child(1) { left: 20px; top: 20px; }.stone-rivets i:nth-child(2) { right: 20px; top: 20px; }.stone-rivets i:nth-child(3) { left: 20px; bottom: 20px; }.stone-rivets i:nth-child(4) { right: 20px; bottom: 20px; }
.pvm-crest { position: relative; z-index: 7; width: 72px; height: 72px; display: grid; place-items: center; color: #f0bd3d; font-size: 36px; background: #21170d; border: 5px ridge #9f7938; transform: rotate(45deg); margin: 0 0 42px 13px; box-shadow: 4px 5px 15px #000; }
.pvm-crest::first-letter { transform: rotate(-45deg); }
.pvm-hero > p, .pvm-hero > h2, .pvm-hero > .target-progress, .pvm-hero > .target-meta { position: relative; z-index: 7; }
.pvm-hero h2 { color: #ffe59a; font-size: clamp(36px, 4vw, 59px); max-width: 590px; text-shadow: 2px 3px #080705; }
.pvm-hero > p:not(.eyebrow) { color: #bdb08d; line-height: 1.7; max-width: 510px; }
.target-progress { width: min(100%, 510px); height: 13px; padding: 2px; margin-top: 28px; background: #17130d; border: 2px ridge #755b33; }
.target-progress i { display: block; height: 100%; width: 0; background: linear-gradient(#e6b93e, #966715); box-shadow: 0 0 8px rgba(240,189,61,.3); transition: width .6s ease; }
.target-meta { width: min(100%, 510px); display: flex; justify-content: space-between; color: #a79368; margin-top: 9px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.pvm-hero blockquote { color: #a8956d; }

.score-strip { background: #2a1b0e; color: #f0d68a; border-bottom: 5px ridge #7a572a; }
.score-strip > div { border-right: 3px ridge #60431e; background: linear-gradient(135deg, rgba(255,255,255,.03), transparent 55%); }
.score-strip p small, .out-of { color: #a08d68 !important; }
.metric-icon { background: #1b1109; border: 3px ridge currentColor; box-shadow: inset 0 0 8px #000; }
.score-strip .index-score { background: linear-gradient(#4a1e16, #25100c); border-left: 3px ridge #8a5529; }

.pvm-section {
  color: #f0d99b;
  background:
    radial-gradient(circle at 50% 0, rgba(109, 74, 30, .2), transparent 32%),
    repeating-linear-gradient(0deg, #21160d 0, #21160d 56px, #1c120b 57px, #1c120b 59px);
  border-bottom: 5px ridge #795529;
}
.pvm-section .eyebrow { color: #e1a82d; }
.pvm-section .section-note { color: #a79572; }
.next-step-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 13px; margin-bottom: 28px; }
.next-step { min-height: 235px; padding: 25px; position: relative; overflow: hidden; background: linear-gradient(145deg, #3c2b18, #24170d); border: 4px ridge #7b5a2d; box-shadow: inset 0 0 25px rgba(0,0,0,.5), 0 8px 18px rgba(0,0,0,.24); }
.next-step:first-child { border-color: #b98b38; }
.next-step::after { content: attr(data-number); position: absolute; right: -2px; bottom: -24px; color: rgba(255,219,125,.045); font: 100px "MedievalSharp"; }
.next-step .priority { color: #e8ad32; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.next-step h3 { color: #ffe09a; font-size: 24px; margin: 24px 0 10px; }
.next-step p { color: #b3a17b; font-size: 12px; line-height: 1.6; }
.next-step .reward { display: block; color: #d7b665; margin-top: 22px; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.route-shell { border: 5px ridge #806032; background: #140e08; box-shadow: inset 0 0 20px #000; }
.route-header { min-height: 47px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(#4b351d, #2d1d10); border-bottom: 3px ridge #79572e; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.route-header small { color: #968564; font-size: 8px; }
.pvm-route { display: grid; grid-template-columns: repeat(7, 1fr); padding: 24px 18px; }
.route-step { min-height: 122px; position: relative; text-align: center; color: #84765c; padding: 0 7px; }
.route-step:not(:last-child)::after { content: ""; position: absolute; height: 3px; width: 50%; background: #46351f; left: 75%; top: 24px; }
.route-step .node { position: relative; z-index: 2; width: 48px; height: 48px; margin: 0 auto 13px; display: grid; place-items: center; background: #24180d; border: 4px ridge #5e4727; color: #7f704f; font-size: 17px; transform: rotate(45deg); }
.route-step .node span { transform: rotate(-45deg); }
.route-step strong { display: block; color: #9c8b68; font-size: 12px; }
.route-step small { display: block; margin-top: 5px; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.route-step.completed .node { color: #d9d7a1; border-color: #607a3b; background: #26321e; }
.route-step.completed strong { color: #b6c88b; }
.route-step.current .node { color: #ffe092; border-color: #c08a2f; background: #4a2e10; box-shadow: 0 0 17px rgba(219,159,45,.35); }
.route-step.current strong { color: #f1cf72; }
.route-step.completed:not(:last-child)::after { background: #637c3b; }
.readiness-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 20px; border: 3px ridge #74542d; }
.readiness-grid > div { padding: 17px; border-right: 1px solid #5c462a; background: rgba(0,0,0,.22); }
.readiness-grid > div:last-child { border: 0; }
.readiness-grid span { display: block; color: #88795d; font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }
.readiness-grid strong { display: block; color: #e3c981; font-size: 19px; margin-top: 6px; }

.content-section:not(.dark-section):not(.pvm-section):not(.collection-section), .parchment-section, .collection-section { border-bottom: 5px ridge #785526; }
.section-heading { border-bottom: 2px solid rgba(79,47,19,.35); padding-bottom: 20px; }
.all-skills-grid, .skills-summary, .quest-list, .feature-progress, .collection-tabs { border-color: #79572f; box-shadow: 3px 5px 0 rgba(75,44,17,.13); }
.skill-row, .quest-item, .collection-tabs article, .skills-summary > div { border-color: #8b683a; }
.skill-icon { background: linear-gradient(#3d2b18, #1f140b); border: 2px ridge #88652f; color: #f1bd39; }
.skill-xp-bar i, .progress-track i, .large-progress i { background: linear-gradient(#8e2b1b, #5d170f); }
.parchment-section { background-color: #c7aa70; }
.dark-section { background: linear-gradient(#252019, #14110d); border-bottom: 5px ridge #785526; }
.diary-card, .combat-row { background: rgba(67, 49, 29, .28); }
.boss-card { border: 4px ridge #795a30; background: linear-gradient(145deg, #332417, #17100a) !important; box-shadow: inset 0 0 18px #000; }
.boss-card .status { background: #20160d; border: 2px ridge #76582f; }
.collection-section { background-color: #b99a5e; }
.collection-hero { border: 5px ridge #7c5b2f; background: linear-gradient(#332315, #1b120b); }
footer { border-top: 5px ridge #805a2c; background: linear-gradient(#2c1c0f, #140c07); color: #907b56; }

@media (max-width: 1100px) {
  .next-step-grid { grid-template-columns: 1fr; }
  .next-step { min-height: 180px; }
  .pvm-route { grid-template-columns: repeat(4, 1fr); gap: 24px 0; }
  .route-step:nth-child(4)::after { display: none; }
  .readiness-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .pvm-hero { padding: 65px 8%; }
  .pvm-route { grid-template-columns: repeat(2, 1fr); }
  .route-step:nth-child(even)::after { display: none; }
  .route-header small { display: none; }
  .readiness-grid { grid-template-columns: 1fr 1fr; }
}
